|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
it gives an error saying
"incorrect syntax near update" . can anyone tell me why? EXEC("update "+@sTable+" set status='A' where breakdate < datediff(day,'08/12/1960',getdate()) and clientid=12059 and status ='F'") |
|
#2
|
|||
|
|||
|
Why do you use dynamic SQL at all?
|
|
#3
|
|||
|
|||
|
Quote:
i figured it out. thanks a lot. i had to use dynamic SQL because the results are dependent on the inputs coming from the forms... ![]() |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > what's wrong with this? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|