第三十六章 SQL命令 DROP QUERY删除查询 大纲DROP QUERY name [ FROM className ]参数name - 要删除的查询的名称。名称是一个标识符。不要指定查询的参数括号。名称可以是限定的(schema.name),也可以是非限定的(N…
DROP QUERY Test.BonusCalc FROM Employees.queryBonusCalc:drops the query Employees.BonusCalc(). 如果指定的查询不存在,DROP QUERY将生成SQLCODE-362错误。如果指定的类不存在,DROP QUERY将生成SQLCODE-360错误。如果指定的查询可以引用两个或多个查询,DROP QUERY将生成SQLCODE-361错误;必须指定一个类名来解决此歧义。
ClassMethodDropQuery(){&sql(DROP QUERY myq FROMUser.Employee)ifSQLCODE=0{w!,"查询已删除"}elseif SQLCODE=-360{w!,"不存在的类: ",%msg}elseif SQLCODE=-362{w!,"不存在的函数: ",%msg}else{w!,"意外错误代码: ",SQLCODE}}
DROP QUERY BonusCalc FROM User.queryBonusCalc: drops the query SQLUser.BonusCalc(). DROP QUERY Test.BonusCalc FROM queryBonusCalc: drops the query SQLUser.BonusCalc(). DROP QUERY BonusCalc FROM Employees.queryBonusCalc:...
Query OK,1row affected (0.00sec) mysql>mysql>DROPDATABASEIFEXISTSA2;#删除一个库如果你不确定该库是否存在时,你可以使用判断语句,既然改库不存在你也不怕报错啦~Query OK,1row affected (0.01sec) mysql>mysql>SHOW DATABASES;+---+|Database|+---+|A3||course||day03||devops||information_schema|...
由于在微信平台编辑代码类的排版不是很好弄,所以就将CSDN博客的接图直接发了,更多详细内容可以去我的CSDN查看,当然,更直接的是去3cschool官网上面查看,因为我在学习的时候都是照着http://www.w3school.com.cn/sql/sql_drop.asp网站上的内容敲了一遍SQL代码而已。
2、Flink SQL示例 1)、非分区表示例 2)、分区表 五、Flink SQL常见的操作示例 本文简单介绍了DROP、alter、insert和analyze的语法及示例 ,并且将FLink sql常用的sql以java 方法整理成一个类,可以直接在java中使用,或在Flink sql cli中直接使用。 本文依赖flink集群能正常使用。 本文示例java api的实现是通过Flink...
See Also:Oracle9i Data Warehousing Guidefor more information on materialized views and query rewrite Ifsubqueryrefers to remote objects, theINSERToperation can run in parallel as long as the reference does not loop back to an object on the local database. However, if thesubqueryin thedml_table_...
QueryStoreSizeCleanupPolicyOptionKind QueryStoreTimeCleanupPolicyOption QueueDelayAuditOption QueueExecuteAsOption QueueOption QueueOptionKind QueueProcedureOption QueueStatement QueueStateOption QueueValueOption QuoteType RaiseErrorLegacyStatement RaiseErrorOptions RaiseErrorStatement RdaTableOption ...
The OLE DB Driver for SQL Server exposes the IIndexDefinition::DropIndex function. This allows consumers to remove an index from a SQL Server table. The OLE DB Driver for SQL Server exposes some SQL Server PRIMARY KEY and UNIQUE constraints as indexes. The table owner, database owner,...