The Zepol's Journal

random ramblings of a technologist about this adventure called life

The Zepol's Journal RSS Feed
 
 
 
 

Posts tagged SQL

Removing time part in an SQL Datetime field

Here is a quick and easy way for removing time component from datetime SQL fields. Read more…

Locking Hints in SQL 2005

I was recently working on a stored procedure with a Transact-SQL statement that looked like this. UPDATE table.foo SET fooName = b.Name FROM table.fah b WITH (NOLOCK) JOIN table.foo a WITH (NOLOCK) AND a.fooId = b.fooId WHERE b.fooCategory = ‘X’ this was running concurrently with another procedure with the SQL looking like this. UPDATE table.foo [...]

Recent Posts

Cool sites

Visits today: 62

Similar Posts

Categories

Archives

Meta