-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make NEWID() and NEWSEQUENTIALID() functions VOLATILE
Altering a table to add a column with DEFAULT NEWID() makes the values all the same value which is not the correct bheaviour. This is because NEWID and NEWSEQUENTIALID are both STABLE when then should be VOLATILE. Task: BABEL-4923 Signed-off-by: Kristian Lejao <klejao@amazon.com>
- Loading branch information
Showing
32 changed files
with
1,480 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
DROP PROC babel_4923_newid_proc | ||
DROP PROC babel_4923_newid_proc_2 | ||
GO | ||
|
||
DROP TABLE babel_4923_newid_tab2 | ||
DROP TABLE babel_4923_newid_tab3 | ||
DROP TABLE babel_4923_newid_tab4 | ||
GO |
Oops, something went wrong.