OBJECT_ID ('student',在SQL里IF OBJECT_ID ('student','U') IS NOT NULL U
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 12:58:45
OBJECT_ID ('student',在SQL里IF OBJECT_ID ('student','U') IS NOT NULL U
OBJECT_ID ('student',在SQL里
IF OBJECT_ID ('student','U') IS NOT NULL U
OBJECT_ID ('student',在SQL里IF OBJECT_ID ('student','U') IS NOT NULL U
OBJECT_ID ( '[ database_name . [ schema_name ] . | schema_name . ]
object_name' [ ,'object_type' ] )
Object type:
AF = Aggregate function (CLR)
C = CHECK constraint
D = DEFAULT (constraint or stand-alone)
F = FOREIGN KEY constraint
FN = SQL scalar function
FS = Assembly (CLR) scalar-function
FT = Assembly (CLR) table-valued function
IF = SQL inline table-valued function
IT = Internal table
P = SQL Stored Procedure
PC = Assembly (CLR) stored-procedure
PG = Plan guide
PK = PRIMARY KEY constraint
R = Rule (old-style, stand-alone)
RF = Replication-filter-procedure
S = System base table
SN = Synonym
SQ = Service queue
TA = Assembly (CLR) DML trigger
TF = SQL table-valued-function
TR = SQL DML trigger
U = Table (user-defined)
UQ = UNIQUE constraint
V = View
X = Extended stored procedure