|
sql
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Linking Excel and SQLI would like to link an Excel Spreadsheet to my SQL 2K Database. Where do I
need to start? For example. I would like to have a cell in Excel that gives me the sum of Sales Orders in my SQL Database. I would also like for this to be able to change according to a date field in excel that can be set. Thanks for any help. So far I have tried using Microsoft Query, and I have entered my Select
statement. Here's another question though, How do have a select statement that changes according to what is in a cell in Excel. For Example: Select <field> from <table> where <field>=<Cell in Excel> Show quoteHide quote "Preacher Man" <nospam> wrote in message news:elnkSnDIGHA.3944@tk2msftngp13.phx.gbl... >I would like to link an Excel Spreadsheet to my SQL 2K Database. Where do >I need to start? > > For example. I would like to have a cell in Excel that gives me the sum > of Sales Orders in my SQL Database. I would also like for this to be able > to change according to a date field in excel that can be set. > > Thanks for any help. > Hi
SELECT * FROM OpenDataSource( 'Microsoft.Jet.OLEDB.4.0', 'Data Source="c:\External\MyExcel.xls"; User ID=Admin;Password=;Extended properties=Excel 8.0')...Book1$ Show quoteHide quote "Preacher Man" <nospam> wrote in message news:elnkSnDIGHA.3944@tk2msftngp13.phx.gbl... >I would like to link an Excel Spreadsheet to my SQL 2K Database. Where do >I need to start? > > For example. I would like to have a cell in Excel that gives me the sum > of Sales Orders in my SQL Database. I would also like for this to be able > to change according to a date field in excel that can be set. > > Thanks for any help. >
Commit, rollback...
Check Data and Index Linkage FAILED FillFactor and Intermeditory Pages Owner of a database Error inserting into iSeries DB2 table with long name via SQL Server 2000 linked Server Could not locate file 'data01_log' in sysfiles [SQL2005] Backup Schedule TO DO List for HA DB Server SQL server RAID and query parallelism SQLExpress |
|||||||||||||||||||||||