Results 1 to 2 of 2

Thread: Select Case in Stored Procedure

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 1999
    Location
    Reno,NV, USA
    Posts
    3

    Post

    Is it possible to use the select case statement in SQL Server 6.5 in a stored procedure. I have a table with a field for every month in the year. I want to just populate one field in the table for a particular month that is chosen from a drop down box in my application. Is this possible or am I going in the wrong direction

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    Not sure the case statement is what you want to use. From what you've posted, it sounds like you either want to use a stored procedure (with parameters) or build a SQL "update" statement on the fly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width