Is there a way to insert a record only if a certain
condition is met?
Something like:
insert into employee values('lastname','firstname',8) where
(condition here.. select sum(ofsomething) from xx where sum(ofsomething)>0 )
Is this possible at all with just plain SQL?
- [SQL] insert only if conditions are met? Henry Ortega
- Re: [SQL] insert only if conditions are met? Michael Fuhr
- Re: [SQL] insert only if conditions are met? Henry Ortega
- Re: [SQL] insert only if conditions are met? Ragnar Hafstaư
- Re: [SQL] insert only if conditions are ... Henry Ortega
- Re: [SQL] insert only if conditions... Jim C. Nasby
- Re: [SQL] insert only if condit... Scott Marlowe
- Re: [SQL] insert only if conditions... Ragnar Hafstaư
- Re: [SQL] insert only if condit... Philip Hallstrom
- Re: [SQL] insert only if co... Henry Ortega
- Re: [SQL] insert only if co... Philip Hallstrom