HEADERONLY

Technical Article

Version independent spGetBackupDateFromFile

  • Script

This is an version independent stored procedure to get the backup date from a backup file.

It's tested for SQL 2005, 2008(R2), 2012 and 2014.

Consider it a template to which you can add more output parameters from the headerinfo to meet your requirements.

You rated this post out of 5. Change rating

2016-04-21 (first published: )

338 reads

Technical Article

RE: Datatype Issues... 8000 characters is too small.

  • Reply

Hi Roxanne,Have you tried writing VB code that uses ADO to execute your built queries?You would need to return the SQL queries in a resultset.  So, you might add the following code at the stored procdeclare @sql_stmts table (   cols varchar(8000),   from varchar(8000),   where varchar(8000) )-- repeat insert below for each query […]

You rated this post out of 5. Change rating

2004-10-02

Technical Article

RE: Running a stored proc on table results

  • Reply

This actually sounds like a good idea! all I have to do now is work on creating the loop. Anybody want to provide a code sample? quote: Table data type can't be used as a parameter in stored procedures! you will have to create a loop to cyle through the table to either send an […]

You rated this post out of 5. Change rating

2003-11-13

Blogs

Simple Talks Episode 7

By

The season 1, seventh episode of Simple Talks is out. Check it out, with...

A New Word: the McFly effect

By

the McFly Effect – n. the phenomenon of observing your parents interact with people...

Key mappings in Visual Studio Code

By

At a recent conference I was asked how I executed code during my presentation....

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers