Email Alerts
-
The most dangerous game: Hunting down bad SQL query performance
SQL Server is faster when the queries behind your applications are faster. Learn how to spot bad SQL query performance, and then work with developers so you can improve throughput. Feature
-
Top 10 SQL Server development tips of 2008
Here are the top 10 most viewed SQL Server development tips of 2008. From converting date/time values into character types, working with DATETIME and SMALLDATETIME in SQL Server 2005, using a stored procedure to find the size of SQL Server tables and... The Year in Review
-
Supertype and subtype tables in SQL Server
Learn how to physically implement supertype and subtype tables and clusters on a SQL Server in this excerpt from "A Developer's Guide to Data Modeling for SQL Server, Covering SQL Server 2005 and 2008" by Eric Johnson and Joshua Jones. Book Excerpt
-
SQL Server and data manipulation in T-SQL
Learn about stored procedures, parameters, triggers and how other T-SQL code functions allow for the manipulation of data in this excerpt from "A Developer's Guide to Data Modeling for SQL Server, Covering SQL Server 2005 and 2008" by Eric Johnson an... Book Excerpt
-
Top 10 SQL Server development questions
Development in SQL Server can put you in a crunch and seeking for a quick solution. We've compiled a Top 10 list of your frequently asked questions when it comes to SQL Server development. In this quick reference you'll get solutions to combat proble... FAQ
-
FAQ: Creating and altering SQL Server tables
Whether you want to select rows, move records, track activity or perform various other table-related tasks, this collection of frequently asked questions offers expert insights to help. FAQ
-
FAQ: SQL Server stored procedure how-tos
Write and run SQL Server stored procedures more effectively. This collection of FAQs will start you on the path to working with useful T-SQL routines. FAQ
-
Top 10 T-SQL tips for improved SQL Server development
Having difficult with your T-SQL programming extensions or simply want to make improvements within your SQL Server development? We've compiled a Top 10 list of the most popular tips your peers are reading. Find out how to script SQL Server backups, w... Top Expert Tips
-
Script example for SQL Trace
Use SQL Profiler in your production environment to target poorly performing T-SQL commands in SQL Server 2000 and SQL 2005. Microsoft database expert Michelle Gutzait guides you through SQL Trace, from how to use trace definition through incorporati... Step-by-Step Guide
-
How to use SQL Trace definition
Use SQL Profiler in your production environment to target poorly performing T-SQL commands in SQL Server 2000 and SQL 2005. Microsoft database expert Michelle Gutzait guides you through SQL Trace, from how to use trace definition through incorporati... Step-by-Step Guide
- See more Essential Knowledge on SQL-Transact SQL (T-SQL)
-
SQL Server freebie: PromptSQL for word completion
This add-on application, available for a 30-day free trial, provides auto-complete functionality as you type for programs used to create SQL statements. News | 23 Nov 2005
-
Step 3: Consider using implicit transactions
Get up to speed on server-level options to add another layer of integrity protection. Article | 13 May 2005
-
Nine T-SQL best practices
Choosing the right data type and avoiding dynamic SQL are two of the nine T-SQL best practices that author Basit Farooq explains here. Tip
-
SQL Server views: Creating indexes and adding base data
SQL Server views allow you to give information to users without compromising security. Find out how to create indexes on them and add base data. Tip
-
SQL Server views: What they are and how to create them
SQL Server views can help DBAs provide information to users while still controlling data access. Find out how. Tip
-
SQL CONSTRAINT clauses: FOREIGN KEY, CHECK and DEFAULT
In SQL Server, SQL CONSTRAINT clauses let you control values entered into a column. Learn about FOREIGN KEY, CHECK and DEFAULT constraints here. Tip
-
SQL CONSTRAINT clauses: PRIMARY KEY and UNIQUE
In SQL Server, SQL CONSTRAINT clauses let you control the kinds of values that get entered into a column. Learn about two of them here. Tip
-
Manage your SQL Server databases with SQL DMVs
SQL DMVs (dynamic management views) can help simplify administration of SQL Server databases. Find out how with detailed examples. Tip
-
T-SQL analytic functions in SQL Server can help solve problems quickly
With the help of T-SQL analytic functions, we can quickly solve complex analytical tasks. Learn more from SQL Server expert Basit Farooq. Tip
-
T-SQL tricks for SQL Server 2012: T-SQL statements
In the final part of Robert Sheldon's series on features and tricks in T-SQL, learn about important T-SQL statements like LAG, LEAD and more. Tip
-
T-SQL tricks for SQL Server 2012: T-SQL formatting
Learn the advantages of new T-SQL formatting tools in this third part of expert Robert Sheldon's series on new T-SQL tricks for 2012. Tip
-
T-SQL tricks for SQL Server 2012: T-SQL functions
In this second in a series of tips about new T-SQL features in SQL Server 2012, expert Robert Sheldon explores more tricks for getting the most out of T-SQL functions. Tip
- See more Tips on SQL-Transact SQL (T-SQL)
-
Can SQL combine tables like these? Doubtful
Can SQL combine tables where the values don't relate to one another? One expert says it's difficult unless you redesign the tables. Answer
-
SQL PIVOT helps merge results into a single row
SQL Server expert Denny Cherry shows how code can be used to the same effect as a SQL PIVOT statement. Answer
-
Manipulate column names in a SQL Server table
Learn SQL Server commands to manipulate column names in a table and turn column names into variables or rename SQL columns. Ask the Expert
-
SQL Server trigger vs. stored procedure to receive data notification
Learn why using a SQL Server stored procedures vs. a trigger can be a preferred method to retrieve data notification from a database field. Ask the Expert
-
Command to seed identity column in a SQL Server table
Take a look at this command using a variable to seed an identify column in a SQL Server table. Ask the Expert
-
INSTEAD OF trigger to update a SQL Server table
Find how to use INSTEAD OF trigger to update a SQL Server table for myDate and myTime. Ask the Expert
-
Executing a trigger before SQL Server table is updated
Triggers in SQL Server can be executed before a table is updated. Get triggers to read and extract table values before and after the table is updated. Ask the Expert
-
VARCHAR and NVARCHAR data types in SQL Server 2005
Having trouble with using VARCHAR and NVARCHAR data types in SQL Server 2005 Express or Enterprise Edition? Learn which properties could be the problem. Ask the Expert
-
SQL vs. T-SQL
SQL Server 2005 and T-SQL do have differences. The advantages and disadvantages would depend user environment as described by SQL Server 2005 expert Adam Machanic. Ask the Expert
-
SQL Server 2005 T-SQL debugging alternatives
With no T-SQL debugger in SQL Server Management Studio you can use Visual Studio 2005's T-SQL debugger, but if you're not a fan of step-debugging, SQL Server 2005 expert Adam Machanic has detailed some alternatives. Ask the Expert
- See more Expert Advice on SQL-Transact SQL (T-SQL)
-
SQL Server 2012
Microsoft SQL Server 2012 is a relational database management system (RDBMS) designed for the enterprise environment. Like its predecessors, SQL Server 2012 comprises a set of programming extensions to enhance the Structured Query Language (SQL), a s... Definition
-
ACID (atomicity, consistency, isolation, and durability)
ACID (atomicity, consistency, isolation, and durability) is an acronym and mnemonic device for learning and remembering the four primary attributes ensured to any transaction by a transaction manager (which is also called a transaction monitor). Definition
-
OLE DB (OLEDB or Object Linking and Embedding Database)
OLE DB is Microsoft's strategic low-level application program interface (API) for access to different data sources. Definition
-
T-SQL (Transact-SQL)
T-SQL (Transact-SQL) is a set of programming extensions from Sybase and Microsoft that add several features to the Structured Query Language (SQL) including transaction control, exception and error handling, row processing, and declared variables. Definition
-
SQL (Structured Query Language)
SQL (Structured Query Language) is a standard interactive and programming language for getting information from and updating a database. Definition
-
commit
A commit is the final step in the successful completion of a previously started database change as part of handling a transaction in a computing system. Definition
-
Collaboration Data Objects (CDO)
Collaboration Data Objects (CDO) is Microsoft's technology for building messaging or collaboration applications or adding these capabilities to existing applications. Definition
-
container
In Sun Microsystems' JavaBeans component architecture and in Microsoft's Component Object Model (COM), a container is an application program or subsystem in which the program building block known as a component is run. Definition
-
DAO (Data Access Objects)
DAO (Data Access Objects) is an application program interface (API) available with Microsoft's Visual Basic that lets a programmer request access to a Microsoft Access database. Definition
-
fetch
In computer technology, fetch has several meanings related to getting, reading, or moving data objects. Definition
- See more Definitions on SQL-Transact SQL (T-SQL)
-
Can SQL combine tables like these? Doubtful
Can SQL combine tables where the values don't relate to one another? One expert says it's difficult unless you redesign the tables. Answer
-
SQL PIVOT helps merge results into a single row
SQL Server expert Denny Cherry shows how code can be used to the same effect as a SQL PIVOT statement. Answer
-
Nine T-SQL best practices
Choosing the right data type and avoiding dynamic SQL are two of the nine T-SQL best practices that author Basit Farooq explains here. Tip
-
SQL Server views: Creating indexes and adding base data
SQL Server views allow you to give information to users without compromising security. Find out how to create indexes on them and add base data. Tip
-
SQL Server views: What they are and how to create them
SQL Server views can help DBAs provide information to users while still controlling data access. Find out how. Tip
-
SQL CONSTRAINT clauses: FOREIGN KEY, CHECK and DEFAULT
In SQL Server, SQL CONSTRAINT clauses let you control values entered into a column. Learn about FOREIGN KEY, CHECK and DEFAULT constraints here. Tip
-
SQL CONSTRAINT clauses: PRIMARY KEY and UNIQUE
In SQL Server, SQL CONSTRAINT clauses let you control the kinds of values that get entered into a column. Learn about two of them here. Tip
-
Manage your SQL Server databases with SQL DMVs
SQL DMVs (dynamic management views) can help simplify administration of SQL Server databases. Find out how with detailed examples. Tip
-
SQL Server 2012
Microsoft SQL Server 2012 is a relational database management system (RDBMS) designed for the enterprise environment. Like its predecessors, SQL Server 2012 comprises a set of programming extensions to enhance the Structured Query Language (SQL), a s... Definition
-
T-SQL analytic functions in SQL Server can help solve problems quickly
With the help of T-SQL analytic functions, we can quickly solve complex analytical tasks. Learn more from SQL Server expert Basit Farooq. Tip
- See more All on SQL-Transact SQL (T-SQL)
About SQL-Transact SQL (T-SQL)
Transact SQL, often called T-SQL, is Microsoft's implementation of the SQL language. Developers for SQL Server database management systems are using T-SQL statements for any application communicating with an instance of SQL Server does so by sending Transact SQL statements to the server. Improve your T-SQL skills with these T-SQL overviews, best practices and stored procedures. In this reference, find out how to script SQL Server backups, why T-SQL in SSIS has pros and cons and what to do about poorly written T-SQL code that's causing SQL Server performance problems.