Shapefile to Sql Server export

3610
2
05-10-2012 07:19 PM
ShwetaMorkhandikar
New Contributor
I need to schedule a script every week to export my shapefile and replace the corresponding SQL Server spatial data. I created the Spatial ETL tool, added it to model.
When i run this model within arcmap or arc catalog it runs without errors but when i export it to Python it gives and error. Any help is appreciated.
Tags (2)
0 Kudos
2 Replies
JakeSkinner
Esri Esteemed Contributor
Hi Shweta,

Can you attach the code?  Be sure to place it in CODE tags.
0 Kudos
ShwetaMorkhandikar
New Contributor
I have attached the python script generated from model. All the sql server parameters (server, UID and Password) are supplied to ETL tool.
0 Kudos