Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

does select statement come under the category of Transact-SQL (T-SQL) is Microsoft's and Sybase's proprietary extension to SQL.

share|improve this question
    
I'm guessing this is asked in light of this question: serverfault.com/questions/201524/… –  sysadmin1138 Nov 13 '10 at 18:02
add comment

1 Answer

MS T-SQL Select: http://msdn.microsoft.com/en-us/library/ms189499.aspx

SELECT [ ALL | DISTINCT ] 
    [TOP ( expression ) [PERCENT] [ WITH TIES ] ] 

    < select_list > 
    [ INTO new_table ] 
    [ FROM { <table_source> } [ ,...n ] ] 
    [ WHERE <search_condition> ] 
    [ <GROUP BY> ] 
    [ HAVING < search_condition > ]

ANSI SQL Select: http://www.rawos.com/odbc/sqlguide/index.html

SELECT [DISTINCT|ALL] *|{attr_name[ AS new_attr_name]} FROM {table_or_view[ alias]}
    [ WHERE where_criteria] 
    [ GROUP BY {attributes}[ HAVING condition]]
    [ ORDER BY {attrname|attrorder [ASC|DESC]}]
    [ INTERSECT|UNION[ ALL] SELECT_statement]

Yes, T-SQL Select is an extended (and therefore likely proprietary) version of ANSI Select.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.