P
Pedro Pinto
Hi again to everyone!
First of all i would like to thank all the people in this forum for
their help, i've gone far in my project and i have to thank you for
that! I hope i can repay all the help given.
My question is this, can i make a converstion from a string to an = or
!= Operators?
I have a client program that sends information to a suposed "sql
server" that processes the requests. Both Create and Insert are easy
but Update and Select use = or != operands. Of course i can do a
comparison of the caracters inserted with if and elses but the
eficiency of the program would go sky high if a direct comparison could
be made. For example:
UPDATE Table_name SET colum_name = new_value WHERE colum_name =
old_value
or
SELECT column FROM table WHERE column operator value
My question applies better to the Select command has with the Update
command this question is also easy to solve.
Can this be done? Thanks in advance for any help.
Best Regards
Pedro Pinto
First of all i would like to thank all the people in this forum for
their help, i've gone far in my project and i have to thank you for
that! I hope i can repay all the help given.
My question is this, can i make a converstion from a string to an = or
!= Operators?
I have a client program that sends information to a suposed "sql
server" that processes the requests. Both Create and Insert are easy
but Update and Select use = or != operands. Of course i can do a
comparison of the caracters inserted with if and elses but the
eficiency of the program would go sky high if a direct comparison could
be made. For example:
UPDATE Table_name SET colum_name = new_value WHERE colum_name =
old_value
or
SELECT column FROM table WHERE column operator value
My question applies better to the Select command has with the Update
command this question is also easy to solve.
Can this be done? Thanks in advance for any help.
Best Regards
Pedro Pinto