Click here to Skip to main content
14,924,665 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello guys


Execute queries in c#

I was wondering how it's going . I mean , what if I wanted to use query when the program already connected to sql

for example

SQL
USE SRO_VT_SHARD
UPDATE [dbo].[_RefObjCommon]
SET Service = 1
WHERE CodeName128 like '%ITEM_EU%'
Posted
Comments
Manfred Rudolf Bihy 8-Feb-13 7:50am
   
It's going well, but you'll have to try it though. Where's the problem? Is your google foo that bad?
fjdiewornncalwe 8-Feb-13 10:01am
   
Good to know that things are well with you Manfred. :)
Manfred Rudolf Bihy 8-Feb-13 11:32am
   
Well, it's seems to be going well with me. About OP I'm not so sure.

1 solution

Same query will work. I don't see any problem in it.
   
Comments
Phoenix1337 8-Feb-13 8:55am
   
And how to insert it :|

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900