Sql server® 2012 t-sql fundamentals



Download 10,93 Mb.
Pdf ko'rish
bet152/443
Sana26.01.2022
Hajmi10,93 Mb.
#411755
1   ...   148   149   150   151   152   153   154   155   ...   443
Bog'liq
BookSQL

anSI SQL-89 Syntax

SQL Server also supports an older syntax for cross joins that was introduced in ANSI SQL-89. In this 

syntax you simply specify a comma between the table names, like this.

SELECT C.custid, E.empid 

FROM Sales.Customers AS C, HR.Employees AS E;

There is no logical or performance difference between the two syntaxes. Both syntaxes are integral 

parts of the latest SQL standard (ANSI SQL:2011 at the time of this writing), and both are fully sup-

ported by the latest version of SQL Server (Microsoft SQL Server 2012 at the time of this writing). I am 

not aware of any plans to deprecate the older syntax, and I don’t see any reason to do so while it’s an 

integral part of the standard. However, I recommend using the ANSI SQL-92 syntax for reasons that 

will become clear after inner joins are explained.


Download 10,93 Mb.

Do'stlaringiz bilan baham:
1   ...   148   149   150   151   152   153   154   155   ...   443




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish