You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
7
7
#### Fixed
8
8
-[#1345](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/1345) Maintain index options during `change_column` operations.
9
+
-[#1357](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/1357) Support cross database inserts.
let(:basic_insert_sql){"INSERT INTO [funny_jokes] ([name]) VALUES('Knock knock')"}
16
23
let(:basic_merge_sql){"MERGE INTO [ships] WITH (UPDLOCK, HOLDLOCK) AS target USING ( SELECT * FROM ( SELECT [id], [name], ROW_NUMBER() OVER ( PARTITION BY [id] ORDER BY [id] DESC ) AS rn_0 FROM ( VALUES (101, N'RSS Sir David Attenborough') ) AS t1 ([id], [name]) ) AS ranked_source WHERE rn_0 = 1 ) AS source ON (target.[id] = source.[id]) WHEN MATCHED THEN UPDATE SET target.[name] = source.[name]"}
17
24
let(:basic_update_sql){"UPDATE [customers] SET [address_street] = NULL WHERE [id] = 2"}
@@ -52,8 +59,7 @@ class AdapterTestSQLServer < ActiveRecord::TestCase
52
59
assertTopic.table_exists?,"Topics table name of 'dbo.topics' should return true for exists."
53
60
54
61
# Test when database and owner included in table name.
0 commit comments