Click here to Skip to main content
15,898,538 members
Home / Discussions / Database
   

Database

 
QuestionMDX Calculated Member Pin
led12318-Nov-09 5:49
led12318-Nov-09 5:49 
AnswerRe: MDX Calculated Member Pin
Chris Meech19-Nov-09 8:25
Chris Meech19-Nov-09 8:25 
AnswerRe: MDX Calculated Member Pin
led12323-Nov-09 6:14
led12323-Nov-09 6:14 
QuestionSQL is creating a table instead of a file - whats wrong with my SQL-String Pin
fracalifa18-Nov-09 2:30
fracalifa18-Nov-09 2:30 
AnswerRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
Bassam Saoud18-Nov-09 5:04
Bassam Saoud18-Nov-09 5:04 
GeneralRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
fracalifa18-Nov-09 5:26
fracalifa18-Nov-09 5:26 
GeneralRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
Bassam Saoud18-Nov-09 5:35
Bassam Saoud18-Nov-09 5:35 
AnswerRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
scottgp18-Nov-09 5:47
professionalscottgp18-Nov-09 5:47 
It looks like you want something like this:

INSERT INTO OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 8.0;Database=C:\testing.xls;', 'SELECT Name, Email FROM [Sheet1$]')
SELECT Name, Email FROM tblnames

or

1 Export data to existing EXCEL file from SQL Server table

insert into OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;Database=D:\testing.xls;',
'SELECT * FROM [SheetName$]') select * from SQLServerTable

I'm not sure of the correct syntax since I haven't used it before.
I found it at after searching for "sql server export to excel [Excel 8.0;DATABASE=Test.xls]"

Scott
GeneralRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
fracalifa18-Nov-09 6:10
fracalifa18-Nov-09 6:10 
AnswerRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
Richard MacCutchan18-Nov-09 6:07
mveRichard MacCutchan18-Nov-09 6:07 
GeneralRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
fracalifa18-Nov-09 6:24
fracalifa18-Nov-09 6:24 
AnswerRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
Niladri_Biswas18-Nov-09 15:13
Niladri_Biswas18-Nov-09 15:13 
GeneralRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
fracalifa18-Nov-09 22:48
fracalifa18-Nov-09 22:48 
AnswerRe: SQL is creating a table instead of a file - whats wrong with my SQL-String [modified] Pin
Tripathi Swati19-Nov-09 20:59
Tripathi Swati19-Nov-09 20:59 
Questionusing SQLACCOUNT when distributing SQL Express Pin
Jassim Rahma18-Nov-09 2:04
Jassim Rahma18-Nov-09 2:04 
AnswerRe: using SQLACCOUNT when distributing SQL Express Pin
Mycroft Holmes18-Nov-09 13:23
professionalMycroft Holmes18-Nov-09 13:23 
QuestionUpdating live/running Stored Procedures / Functions Pin
debnarayan17-Nov-09 20:33
debnarayan17-Nov-09 20:33 
AnswerRe: Updating live/running Stored Procedures / Functions Pin
Ashfield17-Nov-09 21:02
Ashfield17-Nov-09 21:02 
AnswerRe: Updating live/running Stored Procedures / Functions Pin
Bassam Saoud18-Nov-09 5:08
Bassam Saoud18-Nov-09 5:08 
AnswerRe: Updating live/running Stored Procedures / Functions Pin
Mycroft Holmes18-Nov-09 13:19
professionalMycroft Holmes18-Nov-09 13:19 
QuestionConvert selected table into Tally . Pin
lrsalunkhe17-Nov-09 17:59
lrsalunkhe17-Nov-09 17:59 
AnswerRe: Convert selected table into Tally . Pin
Mycroft Holmes17-Nov-09 20:21
professionalMycroft Holmes17-Nov-09 20:21 
GeneralRe: Convert selected table into Tally . Pin
Shameel18-Nov-09 1:55
professionalShameel18-Nov-09 1:55 
AnswerRe: Convert selected table into Tally . Pin
Niladri_Biswas17-Nov-09 23:11
Niladri_Biswas17-Nov-09 23:11 
QuestionHelp!!! Pin
James WG Murphy17-Nov-09 15:53
James WG Murphy17-Nov-09 15:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.