其他SQL知识

创建视图

CREATE VIEW ProductCustomers AS
SELECT 语句;

 

表示使用表的一部分;

 

游标的使用

DECLARE CustCursor  Cursor
FOR
SELECT * FROM Customers;

表示在检索出来的行中前进或后退一行或多行;

posted @ 2019-07-10 11:24  xjyxp01  阅读(89)  评论(0编辑  收藏  举报