Start here: http://code.google.com/p/pyodbc/You'll have to download and install pyodbc, make sure you get the version that matches the python version you have installed, most likely the version that installed with ArcGIS.###########import arcpy, pyodbccnxn = DRIVER={SQL Server};SERVER=cloak;DATABASE=test;UID=user;PWD=passwordcursor = cnxn.cursor()cursor.execute("{any legal SQL stmt you would execute in SSMS}")cnxn.commit()###########I use it to get the functionality out of ArcGIS and the speed of SQL.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.