You want tables [0].rows.count - test for 0 rows. You could also add the row in the SQL query. SELECT MAX (TimeStamp) TimeStamp, COUNT (*) RowCount FROM ... And check RowCount first. Second suggestion ...
Helping & empowering business owners for over 15 years, helping them to understand how to protect own interests, build bridges to amplify joint ventures, adapting new business practices and solutions.
Microsoft PM Carlos Robles previews his Live! 360 Orlando session on how recent updates to the MSSQL extension—like GitHub ...
As any database admin knows, mastering the subtler nuances of SQL can be likened to the black arts. For me, tuning the efficiency of SQL queries on large, heavily used databases is a perfect example.
I have been testing SQL Server 2005 SP3 CTP this week. This Beta version of SP3, which is due out for official release before the end of the year, includes all of the previous cumulative updates for ...
Anyone have any ideas about how to simulate real-world scenarios in a dev environment? Specifically regarding SQL Server. To get a good picture of real-world performance behaviors (locking, blocking ...