May 13, 2013 at 12:40 pm
What is the difference between just SQL and T-SQL?
May 13, 2013 at 12:56 pm
Both Have SQL = "Structured Query Language" in their names;
As Far as I know, T-SQL (Transact SQL) is the nickname for Microsoft's version of SQL, as opposed to PL SQL(Oracle's Procedural Language/Structured Query Language) for example.
bot have different adherences to the ANSI standards for SQL, and both have numerous proprietary extensions to the language as well
Lowell
May 13, 2013 at 3:18 pm
SQL is the the programming language used to manage relational database systems. Regardless of the datbase server system - there is normally a DML and DDL aspects to the language
Jack Vamvas
sqlserver-dba.com
May 14, 2013 at 4:16 am
SQL is the original defined language and is maintained by ISO. Transact-SQL (T-SQL) is the name that Sybase gave to their version of the language and since SQL Server is based off Sybase's old product it has the same name.
That's the precise definition. But, unless you're writing a book or something, it's pretty safe to refer to SQL or T-SQL interchangeably. I'd get more picky about it if you were comparing Oracle to SQL Server or DB2 or MySQL or some other SQL-based data management system.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 16, 2013 at 1:45 am
SQL: a language for talking to the database. It lets you select data, mutable and create database objects (like tables, views, etc.), change database settings.
T-SQL: (procedural) extensions for SQL used by SQL Server
May 16, 2013 at 9:34 am
subhajeetsur (5/16/2013)
SQL: a language for talking to the database. It lets you select data, mutable and create database objects (like tables, views, etc.), change database settings.T-SQL: (procedural) extensions for SQL used by SQL Server
What makes Microsoft's SQL Extensions (TSQL) Procedural, if I might ask?
May 16, 2013 at 12:36 pm
subhajeetsur (5/16/2013)
SQL: a language for talking to the database. It lets you select data, mutable and create database objects (like tables, views, etc.), change database settings.T-SQL: (procedural) extensions for SQL used by SQL Server
The extensions to TSQL are not necessarily procedural. For example, the CONVERT function isn't procedural. And, for sure, TSQL isn't procedural by nature. Yes, things like While loops are procedural but just because you're using TSQL doesn't mean that you're writing procedural code.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply