Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ò»¸ö¼òµ¥µÄsqlÓï¾ä - Oracle / ¿ª·¢

create table user_b.abcd
( a number constraint abc_pk primary key 
using index
(create index abc_index on user_b.abcd(a) tablespace users),
b number
);

------------------
SQL> @h:\code\6.sql
(create index abc_index on user_b.abcd(a) tablespace users),
  *
µÚ 4 ÐгöÏÖ´íÎó:
ORA-00903: ±íÃûÎÞЧ

Óï¾äÓÐʲôÎÊÌ⣿£¿£¿£¿£¿£¿
±í»¹Ã»Óд´½¨³É¹¦¡£Äã¿ÉÒÔÏȽ¨±í£¬ÔÙ½¨Ë÷Òý
create table user_b.abcd
( a number );
alter table TGL_user_b.abcd
add 
constraint abc_pk primary key (a) tablespace users);

ÒýÓÃ
create table user_b.abcd
( a number constraint abc_pk primary key
using index
(create index abc_index on user_b.abcd(a) tablespace users),
b number
);

------------------
SQL> @h:\code\6.s¡­¡­

°Ñuser_b.È«²¿È¥µô

ÒýÓÃ

ÒýÓÃÂ¥Ö÷ liukai_happy µÄ»Ø¸´:
create table user_b.abcd
( a number constraint abc_pk primary key
using index
(create index abc_index on user_b.abcd(a) tablespace users),
b number
);

-------------¡­¡­

ÕâÑù¿ÉÒÔÁ˰ɣ¿
˳±ã˵Ï Ö÷¼üĬÈϾÍÓÐindexµÄ û±ØÒªÐ½¨indexµÄ

ÒýÓÃ
create table user_b.abcd
( a number constraint abc_pk primary key
using index<


Ïà¹ØÎÊ´ð£º

Çë½ÌsqlÓï¾ä¡£ - Oracle / ¿ª·¢

ÎÒÓÐÒ»¸ö±í£¬½á¹¹ÊÇÕâÑù¡£
  ת³ö µ¥Î» תÈ뵥λ ±ÊÊý ½ð¶î
date(Ö÷) outid(Ö÷) inid(Ö÷) num amt
2009 1 2 1 500 Ϊ 1 µ¥Î» ÔÚ2009Ä ......

oracle spatial¿Õ¼äº¯Êý³ö´í - Oracle / ¸ß¼¶¼¼Êõ

ÔÚÖ´ÐаüµÄʱºòÒýÓÃoracle spatial¿Õ¼äº¯Êý³ö´í£¬³ö´íÇé¿öÈçÏÂ
Errors in file
/user/oracle/app/oracle/admin/grid/udump/grid1_ora_143768.trc: ORA-29902:
error in executing ODCIIndexStart() routine ORA-0 ......

ÇóÒ»SQL - MS-SQL Server / »ù´¡Àà

tab1 ×Ö¶Î:billdate,goodsid,incount,inmoney,outcount,outmoney,endprice,endcount,endamt
tab2 ×Ö¶Î:goodsid,goodskind£¨ÉÌÆ·ÀàÐÍ£©
tab3 ×Ö¶Î:goodskind£¨ÉÌÆ·ÀàÐÍ£©,kindname
½á¹û£º
µÃµ½ÉÌÆ·ÀàÐÍÔÚÒ»¶Îʱ¼ä ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ