| Author |
Topic |
|
shan1430
Yak Posting Veteran
86 Posts |
Posted - 2008-04-06 : 20:45:48
|
| Insert Into Weekly(TesterID) Select TesterIDFROM ALD where TesterID = 'CMT32' , 'CMT31' , 'CMT02','CMT33','CMT04','CMT36','CMT37','CMT38','CMT03','CMT05','CMT42','CMT34','CMT41','CMT40','CMT29','CMT30','CMT01','CMT39','CMT35'Im receiving the following error while trying to execute the given query. Advice please.Msg 102, Level 15, State 1, Line 3Incorrect syntax near ','. |
|
|
singularity
Posting Yak Master
153 Posts |
Posted - 2008-04-06 : 21:16:02
|
| Insert Into Weekly(TesterID)Select TesterIDFROM ALD where TesterID IN ('CMT32' , 'CMT31' , 'CMT02','CMT33','CMT04','CMT36','CMT37','CMT38','CMT03','CMT05','CMT42','CMT34','CMT41','CMT40','CMT29','CMT30','CMT01','CMT39','CMT35') |
 |
|
|
shan1430
Yak Posting Veteran
86 Posts |
Posted - 2008-04-06 : 22:41:04
|
| Thank you. It helps.. |
 |
|
|
|
|
|