Çë½Ì¸ßÊÖѽ
SQL code:
--´´½¨Ó°ÌüÐÅÏ¢±í(cinemaInfo)
create table cinemaInfo
(
cid number primary key,--񅧏
cname varchar2(10) not null, --Ó°ÌüÃû³Æ
remark varchar2(50)
);
--µçÓ°ÐÅÏ¢±í(filmInfo)
create table filmInfo
(
fid number primary key,--񅧏
fname varchar2(20) not null,--µç ......
ÎÒÔÚoracleÖн¨Á¢ºÃÁËÒ»¸ö±í£¬µ«ÓÉÓÚÊÇÐÂÊÖ£¬²»Ã÷°×ÆäÖеķ½°¸ÊÇÔõô»ØÊ£¬¾ÍÑ¡ÁËSYSTEM£¬Õâ¸øºóÃæµÄ¹¤×÷´øÁ˷dz£´óµÄ²»±ã£¬ÇëÎÊÎÒÏÖÔÚÔõô¸ü¸Ä±íµÄ·½°¸¡£ÎÒÓõÄÊÇoracle 10g
¶àл¶àл~~~~~~~
ÄÇλ´óÏÀ°ï°ïæѽ£¬²»Òª²»ÀíÎÒѽ
Èç¹ûÊÇÒª¸Ä±íËùÊôµÄ±í¿Õ¼ä£º
alter table T move tablespace TABLESPACE_NAME;
Èç¹ûÊÇÒª¸ ......
±¾ÈËֻѧ¹ýoracle£¬ÏÖÔÚ×öÁ·Ï°£¬ÀïÃæÓÐÒ»¶ÎserverÓï¾ä²»ÖªµÀÔõôÀí½â£¬Çë¸ßÊÖ°ïæ°ÑÕâ¶Î´úÂë¸Ä³ÉoracleµÄ´úÂ룬ллÁË
create procedure GetScheduleGivenDay @GivenDay datetime
as
select
task.title,
task.detail,
task.begintime,
task.notifytime,
task.needn ......
ÎÒÔÚLinuxÉÏ×°ÁËOracleÊý¾Ý¿â£¬ÆäÖÐÓÐÒ»¸ö±í£¬´óÔ¼ÓÐ90000ÌõÊý¾Ý£¬ÓÃOracle½øÐзÖÒ³²éѯµÄʱºò£¬·¢ÏÖºÜÂý
sqlÓï¾äÈçÏ£º
select *
from (select row_.*, rownum rownum_
from (select * from usercontract
order by CODE) row_)
where rownum_ <= 10 ......
pCmd->CommandText="insert into userftprequest(filename,telnoid,telno,indatetime,productid,dealdatetime,activedatetime,canceldatetime,doflag) values( '"+file_name+"','"+telnoid+"','"+telno+"',todate('"+indatetime+"','YYYY-MM-DD HH24:MI:SS'),'"+ ......
ÎÒÏÖÔÚÓÐÒ»Õűí ÀïÃæÓÐÁ½Ìõ¼Ç¼
name time
ÕÅ 3
Íõ 2
ÏÖÔÚÎÒÏëÒªµÃµ½µÄ½á¹ûÊÇtimeÊǼ¸¾Í»á²éѯ³ö¼¸Ìõ
name time
ÕÅ 1
ÕÅ 1
ÕÅ 1
Íõ 1
Íõ 1
Ôõô×ö
-- ÕâÑùÕû£ºÓÐÒâÒåÂð£¿
µ±È»ÓÐÒâÒåÁË£¬ÎÒÄõıíÖ»²»¹ýÊǾٸöÀý×Ó£¬Êµ¼ÊÓô¦µ±È»ÓÐÁË¡£ÎÒÔÚÕâÀïÖ»²»¹ýÊÇ°ÑÀý×ÓÃèÊöµÄ¼ò»¯ÁË¡£
ºóÃæµÄtime×ֶΠ......
×ܼǼÊý:1827; ×ÜÒ³Êý:305; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ [1] [2] [3] 4
[5] [6] [7] [8] [9] [10] ÏÂÒ»Ò³ βҳ