Sep 25, 2001 #1 tennessee Programmer Feb 25, 2001 8 0 0 US I need to know if there is a way to select * from sometable into (excel spreadsheet) without using dts wizard. Thanks for any help!
I need to know if there is a way to select * from sometable into (excel spreadsheet) without using dts wizard. Thanks for any help!
Sep 25, 2001 #2 RajD Technical User Aug 23, 2001 53 0 0 US Hi, You can do either of two ways: 1) bcp out the data into a text file and then open that text file into MS-Excel 2) Open a MS-Excel workbook and import data from SQL server, using Data--> Get External Data... from the menu. RD Upvote 0 Downvote
Hi, You can do either of two ways: 1) bcp out the data into a text file and then open that text file into MS-Excel 2) Open a MS-Excel workbook and import data from SQL server, using Data--> Get External Data... from the menu. RD
Sep 25, 2001 #3 robsuttonjr MIS Sep 17, 2001 672 0 0 US FoxPro does this very easily using ODBC to interface data on SQL server. Here is sample syntax in FOXPRO: SELECT * FROM xyz INTO CURSOR Cxyz COPY TO xyz.xls XL5 Nice thing is you can then create an executable which can be run again. Upvote 0 Downvote
FoxPro does this very easily using ODBC to interface data on SQL server. Here is sample syntax in FOXPRO: SELECT * FROM xyz INTO CURSOR Cxyz COPY TO xyz.xls XL5 Nice thing is you can then create an executable which can be run again.