Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
IN C# , "SELECT" CAN EXECUTE, "INSERT" CAN NOT EXECUTE. |
Author |
Message |
|
Posted : 2007-05-29 14:35:18 |
I exectue "SELECT * FROM CUSTOMER" ,it's OK.
I execute "INSERT INTO CUSTOMER(NAME) VALUES('AAAAAAA')" ,result is -1,means not do anything.
"INSERT INTO CUSTOMER(NAME) VALUES('AAAAAAA')"
in "Vb Demo 32" can run,it's OK. WHY???? HELP ME ............... ,THANK YOU. |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-05-29 22:10:13 |
I suggest you check the Message Log in the QODBC Setup Screen Messages Tab for the actual error message. You can't create two customers with the name "AAAAAAA". |
|
|
|
|
Posted : 2007-05-30 11:39:35 |
Thank you.I checked the Message Log ,but I don't find the sql ----- "INSERT INTO CUSTOMER(NAME) VALUES('AAAAAAA')".
I noticed the same name.It's not this mistake.
And I change user ,use "admin",I can insert and update. Before this ,I log in QODBC by user-defined user.So I guess the reason of privilege. |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-05-30 13:52:14 |
|
|
|
|