D datasoft Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-08 #1 我要通过程序给SQL Server 7添加自定义的存储过程,这样可以实现系统的自动化升级。谁有办法?
S sportsman Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-08 #2 当然可以。所有的应用都可以用语句实现。当然你要有相应的权限。 语法如下: CREATE PROC[EDURE] procedure_name [;number] [ {@parameter data_type } [VARYING] [= default] [OUTPUT] ] [,...n] [WITH { RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ] [FOR REPLICATION] AS sql_statement [...n]
当然可以。所有的应用都可以用语句实现。当然你要有相应的权限。 语法如下: CREATE PROC[EDURE] procedure_name [;number] [ {@parameter data_type } [VARYING] [= default] [OUTPUT] ] [,...n] [WITH { RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ] [FOR REPLICATION] AS sql_statement [...n]
J jqw Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-08 #3 tquery query.sql.text:='create ....' query.execsql
M mud_glory Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-08 #4 补充: 以上语句在:Query构件的Sql属性里设置。 然后把Query Execute一下