I have a project to do using T-SQL. So i want to know whether MySQL is also a T-SQL?
Or T-SQL means only SQL server?
The questions says "create a relational database using T-SQL" Does that mean i have to do in SQL server?
I have a project to do using T-SQL. So i want to know whether MySQL is also a T-SQL?
Or T-SQL means only SQL server?
The questions says "create a relational database using T-SQL" Does that mean i have to do in SQL server?
Almost every database has an explicit scripting language (or just "language"). This is the language used for defining stored procedures, functions, and triggers. It can also be used for scripting. The scripting language is defined by ANSI standard, but differences are even more pronounced than for queries and data definitions. You can view DDL (data definition language) and DML (data manipulation language) as subsets of the scripting language.
The scripting language for Sybase and SQL Server is called T-SQL. Strictly speaking, SQL Server is the database and T-SQL is the language, but the two are often used interchangeably when referring to code.
MySQL's scripting language is documented in the reference manual. It is quite different from T-SQL. The first major difference you will probably encounter is that IF
is only allowed in programming blocks. The second will be the delimiter, then the word go
, and the differences multiply from there.
T-SQL means only SQL server?
T-SQL works, as Gordon said, in Microsoft SQL Server and Sybase. It does not work in MySQL; that rdbms uses a different SQL dialect.
If your instruction says "create a database using T-SQL", that means you must use Microsoft SQL Server or maybe Sybase. It's a strange insruction, though: the choice of database server make and model can have tremendous cost implications. If you're doing this for a database that might grow large and last a long time, you would be wise to ask the person who gave you that instruction.
No, MySQL is not the same as T-SQL. Please see the following link for more details: What is the difference between SQL, PL-SQL and T-SQL?