SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Attach Excel Workbook

By pkarbowiak,

After installing bellow procedure you will be able to easly attach workbook and read data from it.

This example shows how to attach excel file (c:\temp\orders.xls) and display data from named range (Table1):

Exec mysp_AttachWorkbook 'c:\temp\orders.xls', 'MyOrders'

Select * from MyOrders...Table1

Total article views: 2212 | Views in the last 30 days: 4