Before Insert 触发器 ; 需使用一个触发器
Two infallible receipts I must insert before I proceed further.
首先我得告诉你两个绝对有效的验方。
Note: Alternatively you can create a database trigger to capture every INSERT on your table and tell it to validate the data as XML using the XMLVALIDATE function before performing the INSERT.
注意:您也可以选择创建一个数据库触发器来捕捉表上的每个INSERT操作,并告诉它在执行INSERT之前使用XMLVALIDATE函数验证XML数据。
As shown in Listing 5, the revised INSERT statement invokes the XMLValidate function before specifying a parameter marker for the XML data.
如清单4所示,修订后的insert语句在为XML数据指定参数标志符之前调用xmlvalidate函数。
应用推荐