Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sql Server

Querying Mssql Server 2012 From A Raspberry Pi 3 Using Python, Freetds And Pyodbc

I am trying to query MSSQL server 2012 using Python as my scripting language on a raspberry Pi3. I … Read more Querying Mssql Server 2012 From A Raspberry Pi 3 Using Python, Freetds And Pyodbc

Stop Django From Inserting Or Updating Sql Server Computed Column

I have a Django model that looks like this: class LocationMaster(models.Model): id = models.Aut… Read more Stop Django From Inserting Or Updating Sql Server Computed Column

Writing Python Dataframe To Mssql Table

I currently have a Python dataframe that is 23 columns and 20,000 rows. Using Python code, I want… Read more Writing Python Dataframe To Mssql Table

Connect To Linked Server Via Sql Server Pyodbc Connection?

I can currently connect to my SQL Server and query any database I want to directly. The problem is … Read more Connect To Linked Server Via Sql Server Pyodbc Connection?

Update Mssql Table Through Sqlalchemy Using Dataframes

I'm trying to replace some old MSSQL stored procedures with python, in an attempt to take some … Read more Update Mssql Table Through Sqlalchemy Using Dataframes

Unable To Connect To Mssql Database Via Django-mssql

I'm trying to connect to my Microsoft SQL Server database from django but I am getting the foll… Read more Unable To Connect To Mssql Database Via Django-mssql

Pymssql: How To Use Windows Authentication When Running On A Non-windows Box

Is there a way for python to connect to MS SQL Server using Windows Authentication, even when not r… Read more Pymssql: How To Use Windows Authentication When Running On A Non-windows Box

Adodb Unable To Store Datetime Value With Sub-second Precision

According to the Microsoft documentation for the DATETIME column type, values of that type can stor… Read more Adodb Unable To Store Datetime Value With Sub-second Precision

Execute .sql Files That Are Used To Run In Sql Management Studio In Python

As part of artifacts delivery, our developers give the data and structure scripts in .sql files. I … Read more Execute .sql Files That Are Used To Run In Sql Management Studio In Python

Pandas To Sql Server

I got following code. The problem is I could read data use panda.read_sql, but I could not use the … Read more Pandas To Sql Server

Sqlalchemy Connects To Sqlserver Using Windows Authenticaton With Pymssql Driver

I can use pymssql to connect to SQLServer using Windows Authentication: conn = pymssql.connect(host… Read more Sqlalchemy Connects To Sqlserver Using Windows Authenticaton With Pymssql Driver

Python & Sql Server

What is the best way to access sql server from python is it DB-API ? Also could someone provide a s… Read more Python & Sql Server

Python - Pyodbc Connection Error

I am trying to connect to the SQL Server database using Python3.4 This is the code that works for … Read more Python - Pyodbc Connection Error

Configure Django With Ms Sql Server Database

I'm setting up a Django application and I want to use SQL Server 2012 for my database. To confi… Read more Configure Django With Ms Sql Server Database

How Do I Specify Transaction Isolation Level For Ms Sql Backend In Sql Alchemy Python

How do I set transaction level READ UNCOMMITED for all queries done through a SQL Alchemy engine ob… Read more How Do I Specify Transaction Isolation Level For Ms Sql Backend In Sql Alchemy Python

Python And Sql : Replacing The Empty Strings Of A Dataframe By A “null” Value Of Sql To Insert The Data In A Database Without Error Of Format

Let's say that I have this dataframe and this code to insert my data in the data base : import … Read more Python And Sql : Replacing The Empty Strings Of A Dataframe By A “null” Value Of Sql To Insert The Data In A Database Without Error Of Format

Pypyodbc - Invalid Cursor State When Executing Stored Procedure In A Loop

I have a python program which uses pypyodbc to interact with MSSQL database. A stored procedure is… Read more Pypyodbc - Invalid Cursor State When Executing Stored Procedure In A Loop

Python Multiprocessing And Database Access With Pyodbc "is Not Safe"?

The Problem: I am getting the following traceback and don't understand what it means or how to … Read more Python Multiprocessing And Database Access With Pyodbc "is Not Safe"?

Pandas Io Sql And Stored Procedure With Multiple Result Sets

So I have a stored proc on a local sql server, this returns multiple data sets / tables Normally, i… Read more Pandas Io Sql And Stored Procedure With Multiple Result Sets

Manage Pyodbc Memory Usage

I am using pyodbc (3.0.7) to retrieve data from a SQL Server database. My OS is windows 7 and pytho… Read more Manage Pyodbc Memory Usage