If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Programmatically run mysql script

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-04-08, 06:28
daimous daimous is offline
Registered User
 
Join Date: Sep 2005
Posts: 72
Programmatically run mysql script

hi guys! is it posible to run a mysql script programmatically? Im using C# 2005. Thanks in advance!
Reply With Quote
  #2 (permalink)  
Old 07-04-08, 08:50
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Turn the script into a stored procedure and then execute that against an open connection to the database.
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 07-04-08, 21:26
daimous daimous is offline
Registered User
 
Join Date: Sep 2005
Posts: 72
Can i call the script from a text file?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On