import pyodbc cnxn = pyodbc.connect("Driver={ODBC Driver 13 for SQL Server};" "Server=localhost;" "Database=AdventureWorks2012;" "Trusted_Connection=yes;") cursor = cnxn.cursor() cursor.execute('SELECT * FROM HumanResources.Employee') row = cursor.fetchone() while row: print (row[0]) row = cursor.fetchone()
-151
SQL_SS_UDT
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)