Re: How can I run '.sql' script from vc++
- From: "Eric Hill" <eric@xxxxxxxxx>
- Date: Wed, 28 Feb 2007 09:33:16 -0600
I have an 'Insert.sql' script in my source directory. On that Sql
file ,Iam trying to insert a value to a table.
I tried like this
ShellExecute(NULL, "open", "mysql", "mydb -u root -p root
Insert.sql", NULL, SW_SHOW);
But its not working..Where am I worng..
What makes you think that it's not working, besides the row never getting inserted? Can you run it manually and get it to work? Do you get an error message?
Eric
.
- References:
- How can I run '.sql' script from vc++
- From: sujeeshlal
- Re: How can I run '.sql' script from vc++
- From: Eric Hill
- Re: How can I run '.sql' script from vc++
- From: sujeeshlal
- How can I run '.sql' script from vc++
- Prev by Date: get the length of a file
- Next by Date: Re: get the length of a file
- Previous by thread: Re: How can I run '.sql' script from vc++
- Next by thread: Compiler warning
- Index(es):