Red Gate forums :: View topic - Python with SQL
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Data Generator 2
SQL Data Generator 2 forum

Python with SQL

Search in SQL Data Generator 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
tilo23



Joined: 22 Dec 2011
Posts: 19
Location: Berkshire, UK

PostPosted: Mon Jan 16, 2012 4:00 pm    Post subject: Python with SQL Reply with quote

Is there any module associated (like sqlite3) which would allow the Python script to connect to the database? (I'm not a Python Pro - have just made some research regarding Python usage with SQL queries).
I would like to use Python scripts to make calculations on columns.
_________________
Inside the Dilbert's world
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1116
Location: My desk.

PostPosted: Tue Jan 17, 2012 6:17 pm    Post subject: Reply with quote

The latest version of SQL Data Generator allows you to use Python scripts to generate data for your columns. Simply select the Python generator for the column in question, then write your code.

We have a guide and some examples here
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group