[Qgis-user] Export to SQL Server plugin
Rikesh Lad
rikeshlad123 at gmail.com
Sat Feb 25 11:07:46 PST 2023
Hi all,
Is there a way to change which drive the 'Export to SQL Server' plugin is
looking for the ODBC Driver 17 for SQL Server? At the moment, it is looking
in the F: drive but I need to change this to the C: drive. I'll highlight
it in red text in the GDAL/OGR console call below.
ogr2ogr.exe -progress -f MSSQLSpatial "MSSQL:driver={ODBC Driver 17 for SQL
Server};" -lco DIM=2 "PG:dbname='test' host=localhost port=5432
user='postgres' password='1234' sslmode=disable"
naturalengland.Areas_of_Outstanding_Natural_Beauty_England -lco
GEOMETRY_NAME=geom -lco FID=id -nln
naturalengland.areas_of_outstanding_natural_beauty_england -nlt
PROMOTE_TO_MULTI --config MSSQLSPATIAL_USE_BCP NO
Any help would be appreciated.
Rikesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230225/287979fb/attachment.htm>
More information about the QGIS-User
mailing list