Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
--we pass a parameter that tells where the Excel file is "@filepath" declare @DataSource varchar(600) set @DataSource = 'Excel 8.0;HDR=NO;Database='+ @FilePath + ';' exec (' insert into OPENROWSET(''Microsoft.Jet.OLEDB.4.0'',''' + @DataSource + ''', ''SELECT * FROM [Sheet1$A4:L4]'') select * from dbo.temp_Table ')
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|SCOM to SQL port 14xx failed?||1||29|
|SQL works but want to get the XML node data separately||11||25|
|Need help with convert Informix SQL SELECT statement to Microsoft SQL||1||25|
|SQL Convert "vertical" data to "horizontal" data||4||25|