![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hello, I've been to the BOL to find out how to write a basic lookup query and I am confused as to how to do this. I created a connection to an excel document and another to my SQL database. In the example provide by Microsoft, I completed the first connection. It then says to write a query statement leaving a question mark. Am I supposed to open a data driven query? If so, where do I write this query? The third step is to write an ActiveX script transformation. Does this go in the data driven query? I wish Microsoft would use some pictures as well as words. It doesn't seem very helpful using the Enterprise Manager which is mostly icon based and not have a pictoral guide. Thank you for your help. Brandon |
#2
| |||
| |||
|
|
Ryan, I printed out the tutorial on DTS lookups and it doesn't help much. I guess the problem is that they are doing a SQL Server to SQL Server lookup and don't mention any other possibilities and the I believe the pictures are mislabeled. Second, I still do not know how to provide the server with the lookup value. This is what I have. I have an old Access database that is flat and I am trying to transfer all the data into a SQL database that is relational. A row in the Access database has several descriptive fields. ie: Access Database ID_number, word1, word2, word3 The relational database two tables. SQL Server Table 1 ID_number word_id_number Table 2 word_id_number word I need to provide the Lookup the ID_Number from table 1 and put the information into table 2 corresponding with the word_id_number. Brandon H. Campbell CDC/NIOSH *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
![]() |
| Thread Tools | |
| Display Modes | |
| |