|
|
SQL Server Excel Workbench
Last post 11-18-2011, 3:11 AM by swapnajeet. 131 replies.
-
10-21-2010, 3:39 PM |
-
markLondon
-
-
-
Joined on 10-21-2010
-
-
-
-
|
Changing Font Color using SQL Server
Can anyone show me how to change the font color using SQL Server? The below is the programming style I'm using.
-- SET cell format to Currency two digits EXECUTE @rs = master.dbo.sp_OASETProperty @xlCell, 'NumberFormat', '$#,##0.00'
|
|
-
04-26-2011, 2:19 PM |
-
09-01-2011, 6:48 PM |
-
twl55
-
-
-
Joined on 09-01-2011
-
-
-
-
|
Keeping Numbers as Numbers
I use OPENROWSET to write an SQL query output to Excel. The problem I'm having is that all my numeric fields end up in Excel as text strings. Does anyone know how to make them be numbers in Excel?
Thanks
|
|
-
10-07-2011, 3:08 AM |
-
10-07-2011, 3:12 AM |
-
10-07-2011, 4:31 AM |
-
10-25-2011, 4:27 AM |
-
bhatiaashu
-
-
-
Joined on 10-25-2011
-
-
-
-
|
develop excel report from sqlserver
Hello,
I am new to T-SQL.I have to develop excel report from sqlserver So I want to know how should I start and what needs to be downloaded for this purpose
|
|
-
11-18-2011, 1:55 AM |
-
swapnajeet
-
-
-
Joined on 11-18-2011
-
-
-
-
|
I wanted to create excel sheet from Stored procedure with some formatting.I have copied the code after downloading it but i am getting the following error when running it. "sp_OAMethod usage: ObjPointer int IN, MethodName varchar IN [, @returnval <any> OUT [, additional IN, OUT, or BO"
I was using the following command to run it
spDMOExportToExcel @SourceServer='My DB Server Name', @QueryText = 'use MyDatabase select Pubname, Address, Postcode from ##CambridgePubs', @filename = 'C:\MyPubDatabase.xls', @WorksheetName='MyFavouritePubs', @RangeName ='ABCDE'
Am i missing something?What does the Parameter @Range Expect.
|
|
-
11-18-2011, 2:05 AM |
-
swapnajeet
-
-
-
Joined on 11-18-2011
-
-
-
-
|
I wanted to create excel sheet from Stored procedure with some formatting.I have copied the code after downloading it but i am getting the following error when running it. "sp_OAMethod usage: ObjPointer int IN, MethodName varchar IN [, @returnval <any> OUT [, additional IN, OUT, or BO"
I was using the following command to run it
spDMOExportToExcel @SourceServer='My DB Server Name', @QueryText = 'use MyDatabase select Pubname, Address, Postcode from ##CambridgePubs', @filename = 'C:\MyPubDatabase.xls', @WorksheetName='MyFavouritePubs', @RangeName ='ABCDE'
Am i missing something?What does the Parameter @Range Expect.
|
|
-
11-18-2011, 2:12 AM |
-
swapnajeet
-
-
-
Joined on 11-18-2011
-
-
-
-
|
I wanted to create excel sheet from Stored procedure with some formatting.I have copied the code after downloading it but i am getting the following error when running it. "sp_OAMethod usage: ObjPointer int IN, MethodName varchar IN [, @returnval <any> OUT [, additional IN, OUT, or BO"
I was using the following command to run it
spDMOExportToExcel @SourceServer='My DB Server Name', @QueryText = 'use MyDatabase select Pubname, Address, Postcode from ##CambridgePubs', @filename = 'C:\MyPubDatabase.xls', @WorksheetName='MyFavouritePubs', @RangeName ='ABCDE'
Am i missing something?What does the Parameter @Range Expect.
|
|
-
11-18-2011, 3:11 AM |
-
swapnajeet
-
-
-
Joined on 11-18-2011
-
-
-
-
|
I wanted to create excel sheet from Stored procedure with some formatting.I have copied the code after downloading it but i am getting the following error when running it. "sp_OAMethod usage: ObjPointer int IN, MethodName varchar IN [, @returnval <any> OUT [, additional IN, OUT, or BO"
I was using the following command to run it
spDMOExportToExcel @SourceServer='My DB Server Name', @QueryText = 'use MyDatabase select Pubname, Address, Postcode from ##CambridgePubs', @filename = 'C:\MyPubDatabase.xls', @WorksheetName='MyFavouritePubs', @RangeName ='ABCDE'
Am i missing something?What does the Parameter @Range Expect.
|
|
-
11-18-2011, 3:11 AM |
-
swapnajeet
-
-
-
Joined on 11-18-2011
-
-
-
-
|
I wanted to create excel sheet from Stored procedure with some formatting.I have copied the code after downloading it but i am getting the following error when running it. "sp_OAMethod usage: ObjPointer int IN, MethodName varchar IN [, @returnval <any> OUT [, additional IN, OUT, or BO"
I was using the following command to run it
spDMOExportToExcel @SourceServer='My DB Server Name', @QueryText = 'use MyDatabase select Pubname, Address, Postcode from ##CambridgePubs', @filename = 'C:\MyPubDatabase.xls', @WorksheetName='MyFavouritePubs', @RangeName ='ABCDE'
Am i missing something?What does the Parameter @Range Expect.
|
|
Page 9 of 9 (132 items)
... 9
|
|