|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
If Else help
Why is this sql generating an error? The reg table has several columns, but it should never get there? I guess it executes the sql anyway? Is there another way to do this? I tried searching for this but it's a little hard to find this problem. Thanks in advance for your help.
if 1=0 begin insert into reg values(0) end |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Microsoft SQL Server > If Else help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|