Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-06-21 : 09:50:18
|
Ammar writes "hi i have import an excel sheet through DTS and name it as MARKDOWN (TABLE NAME)i have an other table in DATABASE which i want to update. name is Markdown_detailsthe field i want to update in MARKDOWN_DETAILSis NEW_SPand the field name in imported table is SALEhow can i do it the query i want isUPDATE MARKDOWN_DETAILSSET markdown_details.NEW_SP = markdown.salewhere markdown_details.PRODUCT_NO_STRING = markdown.PROD_CODEand markdown_id = 734but this query doesnt work can you please correct me.Regards," |
|
shallu1_gupta
Constraint Violating Yak Guru
394 Posts |
Posted - 2006-06-22 : 00:48:13
|
Hi,Try this query..UPDATE MARKDOWN_DETAILSSET markdown_details.NEW_SP = markdown.salefrom markdownwhere markdown_details.PRODUCT_NO_STRING = markdown.PROD_CODEand markdown.markdown_id = 734 |
 |
|
|
|
|