Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : Oracle

oracle²éѯ,·Ç³£µÄÓôÃÆ - Oracle / ¸ß¼¶¼¼Êõ

Çë½Ì¸ßÊÖѽ
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 Ð޸ıíµÄģʽ£¨·½°¸£© - Oracle / »ù´¡ºÍ¹ÜÀí

ÎÒÔÚoracleÖн¨Á¢ºÃÁËÒ»¸ö±í£¬µ«ÓÉÓÚÊÇÐÂÊÖ£¬²»Ã÷°×ÆäÖеķ½°¸ÊÇÔõô»ØÊ£¬¾ÍÑ¡ÁËSYSTEM£¬Õâ¸øºóÃæµÄ¹¤×÷´øÁ˷dz£´óµÄ²»±ã£¬ÇëÎÊÎÒÏÖÔÚÔõô¸ü¸Ä±íµÄ·½°¸¡£ÎÒÓõÄÊÇoracle 10g
¶àл¶àл~~~~~~~
ÄÇλ´óÏÀ°ï°ïæѽ£¬²»Òª²»ÀíÎÒѽ

Èç¹ûÊÇÒª¸Ä±íËùÊôµÄ±í¿Õ¼ä£º
alter table T move tablespace TABLESPACE_NAME;
Èç¹ûÊÇÒª¸ ......

serverÓïÑÔת³ÉoracleÓëÈ» - Oracle / ¿ª·¢

±¾ÈËֻѧ¹ýoracle£¬ÏÖÔÚ×öÁ·Ï°£¬ÀïÃæÓÐÒ»¶ÎserverÓï¾ä²»ÖªµÀÔõôÀí½â£¬Çë¸ßÊÖ°ïæ°ÑÕâ¶Î´úÂë¸Ä³ÉoracleµÄ´úÂ룬ллÁË
create procedure GetScheduleGivenDay @GivenDay datetime
as
select 
  task.title,
  task.detail,
  task.begintime,
  task.notifytime,
  task.needn ......

linux Oracle ÏÂʹÓÃrownumºÜÂý - Oracle / ¿ª·¢

ÎÒÔÚLinuxÉÏ×°ÁËOracleÊý¾Ý¿â£¬ÆäÖÐÓÐÒ»¸ö±í£¬´óÔ¼ÓÐ90000ÌõÊý¾Ý£¬ÓÃOracle½øÐзÖÒ³²éѯµÄʱºò£¬·¢ÏÖºÜÂý
sqlÓï¾äÈçÏ£º
select *
  from (select row_.*, rownum rownum_
  from (select * from usercontract 
  order by CODE) row_)
 where rownum_ <= 10 ......

sql INSERT ÎÊÌâ - Oracle / »ù´¡ºÍ¹ÜÀí

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'),'"+ ......

Çë½Ì¸öSQL²éѯÎÊÌâ - Oracle / ¿ª·¢

ÎÒÏÖÔÚÓÐÒ»Õűí ÀïÃæÓÐÁ½Ìõ¼Ç¼
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]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ