SQLCMD: Prompt for Variable?

后端 未结 2 1468
生来不讨喜
生来不讨喜 2021-01-25 18:15

Coming from an Oracle background, Oracle\'s SQLPlus would let you indicate a variable. If the variable wasn\'t set, you\'d be prompted to provide a value.

I\'m using SQ

2条回答
  •  清歌不尽
    2021-01-25 18:39

    There is a free tool "SQLS*Plus" which is an SQL*Plus for SQL Server. Works with SQL Server 2000/2005 and 2008

    Very flexible with data formatting (set lines size, pagesize, etc), variables (&, &&), spool, etc - light years better than isql, osql or sqlcmd

    I downloaded SQLS*Plus from http://www.memfix.com

提交回复
热议问题