In Sql Server 2005, I have a stored procedure, in which i have wrote some commands to create a table and add some records in it.
Create Procedure Procedure1 AS
Begin
create table TmpTable(CD Decimal(10,0), Descr Varchar(50));
Insert Into TmpTable Values(0, Not Applicable );
Insert Into TmpTable Values(1, ALL );
Insert Into TmpTable Values(2, Selected );
Insert Into TmpTable Values(3, Only New );
END
i 希望在所有现有数据库中设立这一表格,即不知道在我称之为这一储存程序时有多少数据库。