Miscellaneous

Technical Article

Script to obtain datadictionary from a SQL2000 db

  • Script

This script creates a stored procedure that, when executed, queries the system tables of any SQL2000 database to return a complete, ordered datadictionary. *Warning**This script only works on tables which have the description property filled out as my main purpose was to query the extended property description feature new to SQL2000. If you have not […]

You rated this post out of 5. Change rating

2001-08-27

3,116 reads

Technical Article

Script to Search SQL Error Log For a String

  • Script

This script(sproc)uses xp_cmdshell from sql and FINDSTR from DOS to search the current errorlog for a specific string such as kernel or failed login. Compile this in the master db and if you do not pass an input parameter a example usage will display for you. ex: sp_dba_sqlerrorlog kernel Edward J Pochinski III

4 (1)

You rated this post out of 5. Change rating

2001-08-13

1,910 reads

SQLServerCentral Article

Using Cursor Metadata to Dynamically Generate HTML Tables

  • Article

The following stored procedure will demonstrate the use of cursor metadata. Using cursor metadata we can get information about an SQL statement and use that information to dynamically generate other code such as HTML or other stored procedures.

5 (1)

You rated this post out of 5. Change rating

2001-07-27

5,208 reads

Blogs

Drop roles in Postgres

By

You can’t just exec DROP ROLE your_role_name; if it’s granted perms or other roles...

Get a PAT in Azure DevOps

By

I have a presentation recently on Continuous Integration Using Local Agents in Azure DevOps...

The Local OLLAMA Gui

By

I ran a small ollama model in a container and have been doing some...

Read the latest Blogs

Forums

Why you should avoid Implicit Measures in your Power BI model

By Koen Verbeeck

Comments posted to this topic are about the item Why you should avoid Implicit...

Calculating Numerator and Denominator

By Reh23

Good evening, I have a rather peculiar issue while trying to calculate Numerator and...

Select statement with in using multiple columns

By mjohnson 71479

I inherited a mess.   The previous developer did not understand how to set up...

Visit the forum

Question of the Day

The AG Synchronous Replicas

In a SQL Server 2022 Enterprise Edition AG, how many replicas can be configured with synchronous commit mode?

See possible answers