Created
September 10, 2013 18:30
-
-
Save gscattolin/6513543 to your computer and use it in GitHub Desktop.
Insert special values (Guid, Time)
This file contains hidden or 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
| use ProjectCode | |
| insert into dbo.BlogPosts values(newid(),'Post1','Content1',CURRENT_TIMESTAMP,'F26D2321-FE49-472D-AE80-0FDECF0BF6BC') | |
| go | |
| insert into prices (group, id, price) | |
| select | |
| 7, articleId, 1.50 | |
| from article where name like 'ABC%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment