Miscellaneous

Technical Article

Scripting extended properties

  • Script

I use these to manage the addition and removal of extended properties on all tables and columns in my company's dbs.Rather than writing complicated joins or calling functions every time, I use views on sysobjects and INFORMATION_SCHEMA tables. I tried to make these scripts as flexible as possible so you can reuse them in procedures, […]

5 (1)

You rated this post out of 5. Change rating

2006-01-05 (first published: )

1,238 reads

External Article

Bogus Resumes and Unblushing Lies

  • Article

Simple Talk's newest commentator, Phil Factor, reveals the dark side of hiring database specialists: "Soon after he had been shown his desk in our crowded, open-plan IT office, he began laughing out loud, sporadically and inappropriately, while reviewing code. It wasn't my code, so I didn't mind."

2005-11-10

4,525 reads

SQLServerCentral Article

Simplify the Creation of XML from SQL Server Data

  • Article

SQL Server 2000 had extensions built in to allow you to work with XML data, however, most installations did not work with it. XML has proven that it is a very powerful way of transmitting and working with data, but creating it from relational data has proven to be difficult. New author Hugh Lynch, CTO of Restricted Stock Systems, Inc. brin gs us a method for easily creating XML from your SQL Servers.

You rated this post out of 5. Change rating

2005-10-27

10,475 reads

Technical Article

Script To Get the Report Execution log, ex. timetaken .

  • Script

this script lists the report Execution History ex: timetaken to render, retreive data, number of records retreived and their size etc.. in descending order of its execution timeReports the ReportName, its Path , TimeTaken to execute the report, retreive the data, render the report, total count of rows returned and the total data returned in […]

5 (1)

You rated this post out of 5. Change rating

2006-01-06 (first published: )

239 reads

SQLServerCentral Article

How To Mess Up An Interview

  • Article

We started a trend with our Worst Practices, looking at things you should not do instead of those you should. Sean McCown has taken that to a new level looking at some things that you can do to ensure you don't get your next job. Read about a few things that you might avoid in your next interview.

2.33 (3)

You rated this post out of 5. Change rating

2005-10-17

20,644 reads

Technical Article

Script to Return a Transposed Data Row

  • Script

I often do the following when administering databases "select * from Table where PrimaryKey=value" and find the output in Query Analyzer is inconvenient to view when the table has many wide columns (which is often the case). This script returns a single entry from a table but "transposed" so that the data flows down the […]

You rated this post out of 5. Change rating

2005-11-10 (first published: )

242 reads

External Article

Automatically Running a Process When SQL Server or SQL Agent Starts

  • Article

Have you ever had a need to run a query or a process as soon as SQL Server starts? Or run some set of tasks when SQL Server Agent Starts? Possibly you want to run a cleanup routine, a copy process or have some task started each time SQL server or SQL Agent is started. Well if this is the case then this article will discuss a couple of options you might consider using to accomplish automatically running your process.

2005-10-13

2,228 reads

Blogs

SQL Server Availability Groups

By

Flexibility and Scale at the Database Level When SQL Server 2012 introduced Availability Groups...

Modify Power BI page visibility and active status with Semantic Link Labs

By

Setting page visibility and the active page are often overlooked last steps when publishing...

T-SQL Tuesday #190–Mastering a New Technical Skill

By

It’s time for T-SQL Tuesday again and this time Todd Kleinhans has a great...

Read the latest Blogs

Forums

Password Guidance

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Password Guidance

Using table variables in T-SQL

By Alessandro Mortola

Comments posted to this topic are about the item Using table variables in T-SQL

Azure elastic query credential question

By cphite

I am trying to check out elastic query between two test instances we have...

Visit the forum

Question of the Day

Using table variables in T-SQL

What happens if you run the following code in SQL Server 2022+?

declare @t1 table (id int);

insert into @t1 (id) values (NULL), (1), (2), (3);

select count(*)
from @t1
where @t1.id is distinct from NULL;
 

See possible answers