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
 Express Edition and Compact Edition (2005)
 SQl command

Author  Topic 

RonR
Starting Member

4 Posts

Posted - 2009-12-28 : 09:07:17

I cannot seem to get any response from the code below.

is it valid code?

I want ALL records and in order by year.


CmdText = "SELECT * FROM Incident ORDER BY IncidentYear"

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-12-28 : 09:28:03
The sql code itself looks ok.
But how will the CmdText get executed?


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

RonR
Starting Member

4 Posts

Posted - 2009-12-28 : 09:31:37
quote:
Originally posted by webfred

The sql code itself looks ok.
But how will the CmdText get executed?


No, you're never too old to Yak'n'Roll if you're too young to die.




It turns out it is working, I had other issues.

thanks
Go to Top of Page
   

- Advertisement -