.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
sivanagamahesh
Post New Web Links

IF Else

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :Sql Server
 
I am trying to write a simple line of code that based on number of records in a table, but am getting some syntax errors.  Any thoughts on how to accomplish this?  If count(*) is greater then 0, then do xyz. IF select   count(*) from TKGEquipTable > 0 Begin select   * from TKGEquipTable END


View Complete Post


More Related Resource Links

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend