User Input in TSQL

  • There is a procedure called NewProfile with three parameter ,the username,password and a profile (which will be got from the database).like & in oracle?

    Any help on this will be greatly appreciated

     

    TIA

    Michael

  • What exactly are you trying to do?

  • Are you looking for the equivalent of Oracle sqlplus commands define, prompt and accept?  These are only available in sqlplus - not in pl/sql.

    T-sql is a poor cousing of  pl/sql - hence no prompts for user input during a script run. And no variables that can be passed between batches in the same run.

    Cheers,

    Win

     

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply