Quantcast
Channel: tsql help
Browsing latest articles
Browse All 7 View Live

tsql help

Thanks Uri very much.

View Article



tsql help

DECLARE @sql VARCHAR(MAX) WITH cte AS ( SELECT *,'RESTORE DATABASE ['+ dbname+'] FROM DISK=''J:\backup\cmx_FullBKP.bak'' WITH REPLACE , ' col, ROW_NUMBER() OVER (ORDER BY (SELECT 0)) rn FROM...

View Article

tsql help

Uri, How can I store this restore cmd into a variable ? I need to execute the stmt using EXEC().

View Article

tsql help

You are welcome.Best Regards,Uri Dimant SQL Server MVP,http://sqlblog.com/blogs/uri_dimant/ MS SQL optimization: MS SQL Development and Optimization MS SQL Consulting: Large scale of database and data...

View Article

tsql help

Thanks Uri.

View Article


tsql help

;WITH cte AS ( SELECT *,'RESTORE DATABASE ['+ dbname+'] FROM DISK=''J:\backup\cmx_FullBKP.bak''  WITH REPLACE , ' col, ROW_NUMBER() OVER (ORDER BY (SELECT 0)) rn FROM FilelocationsTBL WHERE dbname =...

View Article

tsql help

Hi All, Need some help in preparing a restore cmd dynamically using metadata which is stored inside a table. We need to read the file locations from the metadata table and form the RESTORE commands. --...

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images

Pangarap Quotes

Pangarap Quotes

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC