This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL SERVER - Simple Use of Cursor to Print All Stored Procedures of Database

SQL SERVER – Simple Use of Cursor to Print All Stored Procedures of Database

November 20, 2008
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL Scripts, SQL Stored Procedure

A simple cursor with sp_HelpText can print all stored procedures of your database. Switch results to text view with CTRL+T to read them easily.

Read More
SQL SERVER - Guidelines and Coding Standards Complete List Download

SQL SERVER – Guidelines and Coding Standards Complete List Download

September 25, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Data Warehousing, Database, DBA, SQL Coding Standards, SQL Constraint and Keys, SQL Cursor, SQL Data Storage, SQL Download, SQL Function, SQL Index, SQL Joins, SQL Scripts, SQL Server Security, SQL Stored Procedure, SQL Trigger, SQL Utility

My coding standards complete list for SQL Server, cut to what people follow: naming, formatting, and the rules that prevent real bugs.

Read More
Title card: SQL Interview Questions and Answers: Part 2

SQL SERVER – Interview Questions and Answers – Part 2

September 13, 2008
Pinal Dave
SQL Interview Questions and Answers
Data Warehousing, SQL Constraint and Keys, SQL Cursor, SQL Function, SQL Index, SQL Joins, SQL Scripts, SQL Server, SQL Stored Procedure

This is the second part of the blog post series Interview Questions and Answers.Click here to get free chapters (PDF) in the mailbox

Read More
SQL SERVER - Readers Contribution to Site - Simple Example of Cursor

SQL SERVER – Readers Contribution to Site – Simple Example of Cursor

July 16, 2008
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL Scripts

A reader wanted to join values from several rows into one record. Imran Mohammed answered with a simple example of cursor code in SQL Server 2005.

Read More
A vinyl record turning on a turntable with the needle resting in the run-out groove.

SQL SERVER – Is Cursor Database Object or Datatype?

April 19, 2008
Pinal Dave
SQL Interview Questions and Answers
SQL Cursor, SQL Server

Whenever we want to loop something we always look for logic like WHILE LOOP or FOR LOOP. Trust me on my word that both of them are cursor when it is about SQL Server.

Read More
SQL SERVER - Simple Example of Cursor - Sample Cursor Part 2

SQL SERVER – Simple Example of Cursor – Sample Cursor Part 2

March 5, 2008
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL Scripts

A reader asked me to update my Simple Example of Cursor with AdventureWorks. Here is a sample cursor that loops through ProductID and prints each one.

Read More
break

SQL SERVER – Simple Example of WHILE Loop With CONTINUE and BREAK Keywords

October 24, 2007
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL Function, SQL Scripts, SQL Server

I have tried to explain the usage of simple WHILE loop in the first example. BREAK keywords will exit the stop the while loop and control is moved.

Read More
Previous 1 2 3 4 5 6 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com