dbTalk Databases Forums  

Re: using insert with Sybase Case expression

comp.databases.sybase comp.databases.sybase


Discuss Re: using insert with Sybase Case expression in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Anthony Mandic
 
Posts: n/a

Default Re: using insert with Sybase Case expression - 07-03-2003 , 12:14 AM






Kevin wrote:
Quote:
I have a stored procedure where I would like to make a decision within
on which table to insert a row into based on the value of an input
variable. Is it possible to use an INSERT with a CASE expression in
Sybase? Thanks in advance.
A normal if expression is all you need.

-am © 2003


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.