Lennart Gerdvall

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 […]

2007-06-06 (first published: )

647 reads

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)

2007-01-30 (first published: )

6,853 reads

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 […]

2005-07-04 (first published: )

204 reads

Blogs

Daily Coping 7 Apr 2020

By

I’ve started to add a daily coping tip to the SQLServerCentral newsletter, which is...

Reading a SharePoint List with Azure Logic App

By

Sometimes in life you have to do things you really don’t like to do....

T-SQL Tuesday #125 – Unit testing databases – we need to do this!!

By

Welcome to the first April edition of T-SQL Tuesday. I’m honoured to be hosting...

Read the latest Blogs

Forums

Common schema in different Databases

By lfernigrini

Hi, I need to include a very simple schema in all of my database...

Permissions to Run CLR Assembly

By hawg

This is my first time dealing with CLR assemblies and we have setup some...

Convert date value

By pwalter83

Hi, I have a requirement to convert a date value like '7th March 2020' ...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers