T-SQL Tutorial
Category: SQL
SQL SERVER Tutorial – T-SQL: Built-in Functions – Working with NULLS – COALESCE – ISNUMERIC
T-SQL TUTORIAL
PL/SQL: How to query 2nd record only if sorted by date?
The PL/SQL code in order to return the second latest record ?
SQL SERVER Tutorial – T-SQL: ORDER BY – COUNTING – GROUP BY – HAVING
T-SQL Tutorial
Murach’s Oracle SQL and PL/SQL
Product Description If you’re developing applications that access Oracle databases, you can save time and work by having SQL do more of the data handling for you: This new book shows you how. It teaches you how to create effective SQL queries to extract and update the data in an Oracle database. It teaches you… Continue reading Murach’s Oracle SQL and PL/SQL
SQL SERVER Tutorial – T-SQL: TOP – CROSS JOIN – JOIN WITH WHERE – INNER JOIN – MULTIPLE JOIN
T-SQL Tutorial
Pro T-SQL 2005 Programmer’s Guide
Product Description Pro T-SQL 2005 Programmer’s Guide provides comprehensive and detailed coverage of all the major features and facilities of T-SQL for SQL Server 2005. It is designed for all users of T-SQL, database administrators, systems administrators, application developers, and end-users, who want to learn how to exploit the power of T-SQL. Whatever you need… Continue reading Pro T-SQL 2005 Programmer’s Guide
Automating tests for T-SQL code
tst.codeplex.com This is a short demo of the TST tool. This is an open source tool that can be used to write and automate tests for T-SQL code. Similar to other tools like SPUnit but with a more mature set of features. Can be downloaded from http
SQL Server 2008 Transact-SQL Recipes: A Problem-Solution Approach
ISBN13: 9781590599808 Condition: NEW Notes: Brand New from Publisher. No Remainder Mark. Product Description SQL Server 2008 Transact–SQL Recipes: A Problem–Solution Approach is an example–based guide to the Transact–SQL language that is at the core of SQL Server 2008. Learn to create databases, insert and update data, generate reports, secure your data, and more. Author… Continue reading SQL Server 2008 Transact-SQL Recipes: A Problem-Solution Approach
How do I get started in writing/programming in T-SQL?
I am completely confused on what T-SQL really is and how it is different from SQL and its variants. How do you guys program something using T-SQL language? I mean where do you actually ‘encode’ those T-SQL codes? In cobol I use notepad as the programming environment. Do I need to download something like that… Continue reading How do I get started in writing/programming in T-SQL?
How do I set up a job on SQL 2000 to back up a database on other computers in my domain to my computer?
IÂ am trying to create a job on SQL 2000 that will allow me to backup databases from 3 other computers in my domain. all running SQL 2000. i need help writing the T-SQL Statement to insert in the job step. Powered by Y! Answers
Introduction to PL/SQL
plsqlzerotopro.com Introduction to PL
How can you create and raise your own customized exception in PL/SQL block?
How can you create and raise your own customized exception in PL/SQL block?
T-SQL: How do I find the greatest values in a column?
How can write a SELECT statement that finds the n greatest values in a column? From what i’ve read, the TOP statement only returns the first n rows, it doesn’t take any regard to the values. For example, if a have a column with ages, i want to be able to find the 5 oldest… Continue reading T-SQL: How do I find the greatest values in a column?
Oracle Database 11g PL/SQL Programming
Product Description Design Feature-Rich PL/SQL ApplicationsDeliver dynamic, client/server PL/SQL applications with expert guidance from an Oracle programming professional. With full coverage of the latest features and tools, Oracle Database 11g PL/SQL Programming lays out each topic alongside detailed explanations, cut-and-paste syntax examples, and real-world case studies. Access and modify database information, construct powerful PL/SQL statements,… Continue reading Oracle Database 11g PL/SQL Programming
Microsoft SQL Server 2008 T-SQL Fundamentals
ISBN13: 9780735626010 Condition: NEW Notes: Brand New from Publisher. No Remainder Mark. Product Description Master the foundations of T-SQL with the right balance of conceptual and practical content. Get hands-on guidance—including exercises and code samples—that show you how to develop code to query and modify data. You’ll gain a solid understanding of the T-SQL language… Continue reading Microsoft SQL Server 2008 T-SQL Fundamentals
Valid styles for converting datetime to string
I wrote this little table and procedure to help me remember what style 104 did, or how to get HH:MM AM/PM out of a DATETIME column. Basically, it populates a table with the valid style numbers, then loops through those, and produces the result (and the syntax for producing that result) for each style, given… Continue reading Valid styles for converting datetime to string
Use CAST (or CONVERT) to handle Null Date values in Microsoft SQL Server
In an SQL Server View, a problem is that the DateTime field has many Null values which is causing a problem with the parsing of the data in MSAccess. How to I use CAST (or CONVERT) to handle Null Date values in my SQL Server view? There is a way to use CAST or CONVERT… Continue reading Use CAST (or CONVERT) to handle Null Date values in Microsoft SQL Server
MS SQL Server / SELECT clause with a CASE expression
In SQL Server, if you have a column which has NULLs and instead of nulls, if you want to display ‘Nothing’, what would you do? The following query SELECT CASE Dept_Name WHEN NULL THEN ‘Nothing’ ELSE Dept_Name END Dept_Name FROM Inventory would still display the nulls and not ‘Nothing’. Workaround:
SQL SELECT INTO Statement
The SQL SELECT INTO statement can be used to create backup copies of tables. The SQL SELECT INTO Statement The SELECT INTO statement selects data from one table, creates a new table with the exact structure and size and inserts automatically the selected data into the new table. SQL SELECT INTO Syntax We can select… Continue reading SQL SELECT INTO Statement