日韩天天综合网_野战两个奶头被亲到高潮_亚洲日韩欧美精品综合_av女人天堂污污污_视频一区**字幕无弹窗_国产亚洲欧美小视频_国内性爱精品在线免费视频_国产一级电影在线播放_日韩欧美内地福利_亚洲一二三不卡片区

shp2sqlserver 用法簡析_Mssql數(shù)據(jù)庫教程

編輯Tag賺U幣
教程Tag:暫無Tag,歡迎添加,賺取U幣!

推薦:sqlserver2005自動創(chuàng)建數(shù)據(jù)表和自動添加某個字段索引
C#編程程序的時候,讓程序自動創(chuàng)建數(shù)據(jù)表,然后給數(shù)據(jù)表添加索引,這個方法是在百度百科找到,我自已只是簡單的修改了一下

shp2sqlserver用法簡析

官方說明:
shp2sqlserver is a command line tool for loading shapefiles into Microsoft SQL Server 2008. It is modeled after PostGIS's shp2pgsql, except that it loads directly into the database instead of writing sql to stdout.



用法:
復制代碼 代碼如下:www.hl5o.cn

shp2sqlserver.exe -h
Usage: shp2sqlserver.exe [OPTIONS]+ "connectionString" "path to shapefile"
Loads a shapefile into Microsoft SQL Server 2008

example: shp2sqlserver.exe "Data Source=.\SQLExpress2008;Initial Catalog=spatialtest;Integrated Security=true" myshape.shp

Options:
-s, --srid=VALUE The Spatial Reference ID (SRID). If not specified it defaults to -1.
-g, --geometry_column=VALUE The name of the geometry column
-t, --table_name=VALUE The table name to use
-k, --key_column=VALUE The name of the identity column to create for a primary key
-i, --index Create a spatial index
-l, --latlong Add spatial data as geography type
-a, --append Append data. If not specified, table will be created
-h, --help show this message and exit


示例:

shp2sqlserver -g="SHAPE" -s="4326" -i "Data Source=.;Initial Catalog=largesite;Integrated Security=false;user id=sa;password=123456;" "D:\data\xyz.shp"

作者 彭金華

分享:SQL Server 數(shù)據(jù)庫清除日志的方法
SQLSERVER的數(shù)據(jù)庫日志占用很大的空間,下面提供三種方法用于清除無用的數(shù)據(jù)庫日志文件

來源:模板無憂//所屬分類:Mssql數(shù)據(jù)庫教程/更新時間:2013-04-21
相關Mssql數(shù)據(jù)庫教程