Skip to content

Commit bfb3cb9

Browse files
committed
Fix insert query syntax
1 parent 5122fbc commit bfb3cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cases/temp_test_sqlserver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class TempTestSQLServer < ActiveRecord::TestCase
2121
arunit2_database = arunit2_connection.pool.db_config.database
2222

2323
sql = <<~SQL
24-
INSERT INTO #{arunit2_database}.dbo.dogs SELECT * FROM #{arunit_database}.dbo.dogs(id)
24+
INSERT INTO #{arunit2_database}.dbo.dogs(id) SELECT id FROM #{arunit_database}.dbo.dogs
2525
SQL
2626

2727
assert_nothing_raised do

0 commit comments

Comments
 (0)