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.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Start to working with T-Sql

Author  Topic 

raulbolanos
Starting Member

6 Posts

Posted - 2009-06-12 : 09:55:22

Hey guys I am new with this subject and I would appreciate if you can tell me how?

I have read some examples and manuals but I could not find where to write down the code, at the beginning I thought, that I could write like a Query in SQLyog but it seems to be wrong.. it throws and error message.

Otherwise I send the query from c# using the following line

"IF ({14} > 0) BEGIN
DELETE FROM CurveParameters WHERE dbindex = {0}..... and so one.. "

command.Transaction = transaction;
command.ExecuteNonQuery();

and eventhough it still catch an 1064 error.

what do you think?

TG
Master Smack Fu Yak Hacker

6065 Posts

Posted - 2009-06-12 : 10:39:48
Start to work with t-sql using Sql Server Management Studio. Click "New Query" button. It will prompt to you connect to a server. Once connected you can start typing and executing sql statements.

Be One with the Optimizer
TG
Go to Top of Page
   

- Advertisement -