Lennart Gerdvall

  • Interests: Boats, cars and work

Technical Article

Import databases using backups

Import database from source server using full and transaction log backups as recorded in msdb. Use it to import one or more databases to your development environment, to test your backups regularly or to move databases to a new server. Works on SQL 7 and SQL 2000 with native and/or LiteSpeed full backups and native […]

You rated this post out of 5. Change rating

2007-06-06 (first published: )

653 reads

Technical Article

Rebuild and Reorganize Indexes in SQL 2005

This SP rebuilds and reorganizes all indexes in the specified database or all databases. You can run code or generate code. Database will be set in bulk logged mode during processing and set back to normal when finished.Different SQL Editions are handled. LOB indexes, row and page locking options, number of processors, concurrent users and […]

5 (10)

You rated this post out of 5. Change rating

2007-01-30 (first published: )

6,862 reads

Technical Article

Import databases using backups v 2

Import database from source server using full and transaction log backups as recorded in msdb. Use it to import one or more databases to your development environment, to test your backups regularly or to move databases to a new server. To move to a new server, take a transaction log backup and put all in […]

You rated this post out of 5. Change rating

2005-07-04 (first published: )

215 reads

Blogs

Know Thy Platform

By

IT and data professionals, I implore you – know thy platform. All of it....

Adding Git LFS Support – #SQLNewBlogger

By

I got this message recently while committing some changes: This post shows my work...

EightKB 2024

By

EightKB is back! The biggest online SQL Server internals conference is back in 2024…it’s...

Read the latest Blogs

Forums

How to suppress the info of queries execution in Stored Procedure.

By rkordonsky 63916

I inherited the Stored procedure the whole purpose of it is to populate our...

ssis catalog not showing all executions

By stan

Hi we just migrated to 2019.  Unlike our previous server on which every ssis...

Is there a such thing as connections being made too fast in a package?

By stricknyn

Hi all, SSIS doing some quirky things and I wanted to run a scenario...

Visit the forum

Question of the Day

A New Audit

I have a brand new D: drive on my system that is formatted, but contains no files or folders. What happens when I execute this code?

CREATE SERVER AUDIT audit2 TO FILE ( FILEPATH ='D:\audit' );
GO

See possible answers