August 2008 Blog Posts
I've written an article here on SQL Team on how to schedule jobs in SQL Server 2005 Express Intro As we all know SQL Server 2005 Express is a very powerful free edition of SQL Server 2005. However it does not contain SQL Server Agent service. Because of this scheduling jobs is not possible. So if we want to do this we have to install a free or commercial 3rd party product. This usually isn't allowed due to the security policies of many hosting companies and thus presents a problem. Maybe we want to schedule daily backups, database...
In my opinion these 2 batches should behave the same but they don't. the first fails and the second runs ok. I've searched through Books Online for any clue but i haven't really found anything useful. Does anyone have any clue about this? Permissions and transaction isolation levels are not an issue here. -- just to make sure it doesn't already exist
IF OBJECT_ID('tempdb..#tempTable') IS NOT NULL
BEGIN
SELECT 'DROP Temporary table'
DROP TABLE #tempTable
END
IF OBJECT_ID('normalTable') IS NOT NULL
BEGIN
SELECT 'DROP Normal table'
DROP TABLE...
For all enthusiasts out there this is how software development cycle works no matter what the project is:
Programmer produces code he believes is bug-free.
Product is tested. 20 bugs are found.
Programmer fixes 10 of the bugs and explains to the testing department that the other 10 aren't really bugs.
Testing department finds that five of the fixes didn't work and discovers 15 new bugs.
Repeat three times steps 3 and 4.
Due to marketing pressure...