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

Oracle SpatialÖÐSDO_GeometryÏêϸ˵Ã÷

 ÔÚArcGISÖÐͨ¹ýSDE´æ´¢¿Õ¼äÊý¾Ýµ½OracleÖÐÓжàÖÖ´æ´¢·½Ê½£¬·Ö±ðÓУº¶þ½øÖÆLong Raw ¡¢ESRIµÄST_GeometryÒÔ¼°»ùÓÚOracle SpatialµÄSDO_GeometryµÈµÈ¡£
      ¹ØÓÚÕ⼸ÖÖ·½Ê½µÄ¸÷×ÔµÄÓÅȱµã²»ÊÇÖ÷ÒªµÄ̽Ìֵķ½Ïò£¬ÕâЩÎÒÃÇ¿ÉÒÔͨ¹ýArcGISÖеÄArcGIS Server HelpµÃµ½Ïà¹ØµÄ°ïÖú¡£ÕâÀïÖ÷ÒªÊÇѧϰ¹ØÓÚ»ùÓÚOracle SpatialµÄ´æ´¢·½Ê½£¬Í¨¹ýÕâÖÖ´æ´¢·½Ê½¼¸ºÎÁÐShapeµÄ×Ö¶ÎÀàÐÍΪmdsys.sde_geometryÀàÐÍ¡£
      Oracle Spatial¶¨ÒåµÄSDO_GEOMETRYÀàÐÍΪ£º
      CREATE TYPE sdo_geometry AS OBJECT (
                     SDO_GTYPE   NUMBER,  //Ç°Ãæ×Ö·û´®Îª×Ö¶ÎÃû£»ºóÃæ×Ö·û´®Îª×Ö¶ÎÀàÐÍ
                     SDO_SRID    NUMBER,
                     SDO_POINT    SDO_POINT_TYPE,
                     SDO_ELEM_INFO    SDO_ELEM_INFO_ARRAY,
                     SDO_ORDINATES    SDO_ORDINATE_ARRAY);
      ÆäÖÐsdo_geometry AS OBJECT £¬±êʶ¸ÃÀàÐÍΪ¶ÔÏóÀàÐÍ¡£¿ªÊ¼ÎÒÃÇ¿ÉÒÔÏëÏëËüΪArcObjectsÖеÄGeometry¶ÔÏ󣨱¾À´ÒªËصÄshape×Ö¶ÎÖеĶÔÏó¾ÍÊÇGeometry£©£¬¶ø²»ÒªÀí½âËûÊÇÔõôÑù×éÖ¯µÄ¡£ÖÁÓÚ¸ÃÀàÐÍÖеÄSDO_POINT_TYPE¡¢SDO_ELEM_INFO_ARRAY¡¢SDO_ORDINATE_ARRAYÒ²ÊÇOracle Spatial×Ô¶¨ÒåµÄÀàÐÍºÍ sdo_geometry ÊÇÒ»ÑùµÄ¡£
       ÏÖÔÚ¶Ôsdo_geometry ÀàÐÍÖеĸ÷¸ö²ÎÊý¼òµ¥µÄ½éÉÜ£º
        1¡¢SDO_GTYPE £º±íʾҪ´æ´¢µÄ¼¸ºÎÀàÐÍ£¬ÈçµãÏßÃæ¡£ËüÊÇͨ¹ý NUMBERÀàÐÍÀ´±í´ïµÄ£»
     &nb


Ïà¹ØÎĵµ£º

Oracle¶¯Ì¬ÐÔÄÜÊÓͼѧϰ֮ V$ROLLSTAT

À´Ô´ÓÚhttp://hi.baidu.com/edeed/blog/item/33576327d1b73d00918f9dd4.html
±¾ÊÓͼ×ÔÆô¶¯¼´±£³Ö²¢¼Ç¼¸÷»Ø¹ö¶Îͳ¼ÆÏî¡£ÔÚѧϰ±¾ÊÓͼ֮ǰ£¬ÎÒÃÇÏÈÀ´Á˽âһϻعö¶Î(rollback segment)µÄÏà¹Ø¸ÅÄ
»Ø¹ö¶Î¸ÅÊö
»Ø¹ö¶ÎÓÃÓÚ´æ·ÅÊý¾ÝÐÞ¸Ä֮ǰµÄÖµ£¨°üÀ¨Êý¾ÝÐÞ¸Ä֮ǰµÄλÖúÍÖµ£©¡£»Ø¹ö¶ÎµÄÍ·²¿°üº¬ÕýÔÚʹÓõĸûعö¶ÎÊÂÎñµÄÐ ......

ORACLE ³£ÓÃ×Ö·ûº¯Êý


1.LOWER(str) Ç¿ÖÆСд
2.UPPER(str) Ç¿ÖÆ´óд
3.INITCAP(str) ÿ¸öµ¥´ÊÊ××Öĸ´óд
ʾÀý£º
SQL> select initcap('my_boy') from dual; --·µ»Ø"My_Boy"
×¢Ò⣺µ¥´ÊÖ®¼äÓÃÏ»®Ïߣ¨"_"£©·Ö¸î
4.CONCAT(str1,str2£©Á¬½Óº¯Êý,Á¬½Óstr1ºÍstr2×Ö·û´®
5.SUBSTR(string,a[,b])·µ»ØstringµÄÒ»²¿·Ö£¬aºÍbÒÔ×Ö·ûΪµ¥Î»¡£´Ó× ......

oracle×¢ÊÍ£ºcomment onµÄÖØÒªÒâÒå

ÎÞÒÉ×¢ÊÍÏÖÔÚ¶¼±»´ó¼Ò½ÓÊܺÍÈÏ¿É£¬ÔÚ´ó¼Ò±à³ÌÓõÄIDEÖж¼Ìṩ»òÓеÚÈý·½²å¼þÀ´Ö§³ÖÌáȡעÊÍÄÚÈÝʵÏÖ
¿ìËÙÁ˽â½á¹¹µÄ¹¦ÄÜ¡£µ«ÔÚÊý¾Ý¿âµÄ½Å±¾±àд·½ÃæÎÒÒ²ÊǾ­ÀúÁË°Ù°ãÕÛÄ¥ºó×ܽáÁËһЩ¶«Î÷·¢À´Óë´ó¼ÒÇд衣
ÏÂÃæÀ´¿´Ò»¸öOracle½¨±íµÄ·½Ê½¡£
create table ctable_name
(
     ......

oracleÁ¬½Ó×Ö·û´®½âÎö

      ÔÚÒ»¸ö»ùÓÚTCP/IPЭÒéµÄÍøÂç»·¾³ÖУ¬oracleÊý¾Ý·þÎñÆ÷ÔÚһ̨¼ÆËã»úÉÏ£¬¿Í»§¶ËÔÚÁíÍâһ̨¼ÆËã»úÉÏ£¬¿Í»§¶ËÒªÁ¬½Óµ½oracle·þÎñÆ÷ÎÒÃǾ­³£»áÊäÈ룺"C£º\sqlplus scott/tiger@shanghai"£¬ÕâÊÇoracle¿Í»§¶ËÁ¬½Ó·þÎñÆ÷ʱʹÓõÄÁ¬½ÓÃüÁÆäÖÐsqlplusÊÇoracle¿Í»§¶Ë³ÌÐò£¬scott/tigerÊǵǽ·þ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ