|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming | |
[vBScript+ADO(MySQL)] What is wrong with my syntax
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Programmer
|
vBScript is not used for web coding
It is a side script from a program. GetNameByPosition(3) is an array variable (41). Code:
Conn.execute ("UPDATE data SET name='" & GetNameByPosition(3) & "' WHERE id='2' ")
Code:
[4:59:39 PM] UserJoins Call Error On File> C:\Program Files\StealthBot\plugins\sql.txt [4:59:39 PM] Error Number: 13 Description: Type mismatch |
|
|
|
|
#2 (permalink) | |||||||||||
|
Programmer
|
the syntax is incorrect for the variable in the table
example: update table set name = 'Joe' where id = 2 your id field is probably an integer not a varchar
__________________
Relax and enjoy life!
|
|||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|