SQL Server Language

  • Hi, I've noticed that a lot of coding in SQL Server seems to be mix of both SQL and VBA style coding. What's the most accurate way to describe this setup? ie. the code in the below article

    [/url]

  • Transact-SQL, also known as T-SQL.

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • Are declaring variables and if statements considered part of T-SQL? They're more VBA than SQL from an overview

  • Anything you write and run in SSMS is T-SQL. You can implement CLR to access .Net and C#, but that reaches out of SQL Server to grab the assemblies and run them. The CLR implementing / calling code is T-SQL.

    Yes, MS is using conventions of other languages and bringing them into T-SQL. That does not make it another language, though.

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • http://en.wikipedia.org/wiki/Transact-SQL

    Transact-SQL (T-SQL) is Microsoft's and Sybase's proprietary extension to SQL. SQL, often expanded to Structured Query Language, is a standardized computer language that was originally developed by IBM for querying, altering and defining relational databases, using declarative statements. T-SQL expands on the SQL standard to include procedural programming, local variables, various support functions for string processing, date processing, mathematics, etc. and changes to the DELETE and UPDATE statements. These additional features make Transact-SQL Turing complete.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply