摘要:-- Oracle 11 G --20160921 涂聚文再次修改 --Geovin Du --GetTables SELECT owner, object_name, created FROM all_objects WHERE (owner in ( select USERNAME from user_users )) AND object_type = 'TABLE' ORDER BY...
阅读全文
posted @ 2015-09-18 15:02
®Geovin Du Dream Park™
阅读(1087)评论(0)推荐(0)
摘要:--Comparing data between two tables in SQL Server--Create two Tables--CREATE TABLE TableA(ID Int, ProuctName Varchar(256))GOCREATE TABLE TableB(ID Int...
阅读全文
posted @ 2015-08-24 10:45
®Geovin Du Dream Park™
阅读(477)评论(0)推荐(0)
摘要:create database bank;use bank;/* begin table creation */create table department (dept_id smallint unsigned not null auto_increment, name varchar(20) ...
阅读全文
posted @ 2015-07-16 17:27
®Geovin Du Dream Park™
阅读(286)评论(0)推荐(0)
摘要:use geovindu;#函数DELIMITER $$drop function if exists f_GetDepartmentName $$CREATE function f_GetDepartmentName( did int) returns nvarchar(400) begind...
阅读全文
posted @ 2015-04-03 17:54
®Geovin Du Dream Park™
阅读(375)评论(0)推荐(0)
摘要:SELECT * from pg_class c,pg_attribute a,pg_type t where c.relname='BookKindList' and a.attnum>0 and a.attrelid=c.oid and a.atttypid=t.oid SELECT a.att
阅读全文
posted @ 2015-04-02 12:14
®Geovin Du Dream Park™
阅读(637)评论(0)推荐(0)