Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
chavala
Starting Member
1 Post |
Posted - 2011-07-11 : 14:34:10
|
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.21.37.38:0, 2011_06_22_00_00, 2, 2, InProgress)' at line 1==================================================================== string query = "INSERT INTO usagetable (FeatureName, loginID, uniqueID, logintime, sflag, duration, status) VALUES("+fname+", "+lID+", "+uID+", "+ltime+", "+lag+", "+dur+", "+st+")";values inside the variables are as follows...fname= mgncdjkjlID = mgkrcuID = mgrdjjncj.jkdcsc.172.21.37.38:0ltime = 2011_06_22_00_00lag = 2dur = 2st = InProgress==========================================================data-types in MYSQLFeatureName (Varchar(30)),loginID (Varchar(30)),uniqueID (Varchar(30)),logintime (Varchar(30)),sflag integer,duration integer,status Varchar(30)cv |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
Seventhnight
Master Smack Fu Yak Hacker
2878 Posts |
|
Seventhnight
Master Smack Fu Yak Hacker
2878 Posts |
Posted - 2011-07-11 : 14:37:17
|
doh. 9 seconds ;)CoreyI Has Returned!! |
|
|
|
|
|
|
|