Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Understanding the syntax of the Insert,Delete,Merge.. and more syntax Expand / Collapse
Author
Message
Posted Tuesday, July 26, 2011 11:48 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, October 2, 2014 3:39 PM
Points: 2,444, Visits: 424
I believe it would be a great article or stairway to understanding how to read the syntax presented in say MCTS database developement exam book.

example:

Insert Statement Syntax

The insert Syntax is as follows:

[WITH <common_table_expression> [,.....n]]
INSERT
[ TOP (expression) [ PERCENT]]
[ INTO ]
{ <object> | rowset_function_limited

So what is "rowset_function_limit", what are the "[" for and for understanding sake what "|" is, which I know means "or", but that is my point. I think it would benefit me as well as other developers to understand everything in the syntax of the SQL syntax.

If there is an article or link to one that would be great as well.

Thank you,
Post #1148541
Posted Tuesday, July 26, 2011 12:24 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 4:56 PM
Points: 31,168, Visits: 15,612
Interesting. I'll see if we can come up with an article on this.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1148567
Posted Tuesday, July 26, 2011 12:44 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Friday, June 27, 2014 12:43 PM
Points: 13,872, Visits: 9,596
Does this help? http://msdn.microsoft.com/en-us/library/ms177563.aspx

- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread

"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Post #1148582
Posted Tuesday, July 26, 2011 2:55 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, October 2, 2014 3:39 PM
Points: 2,444, Visits: 424
That does help, I don't know why I couldn't find it?

Thank you,
Post #1148707
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse