Viewing 15 posts - 1,396 through 1,410 (of 5,502 total)
Something like this?
DECLARE @t VARCHAR(40)
SET @t='Thu Aug 5 12:14:49 GMT-0400 2010'
SELECT CAST(LEFT(STUFF(@t,1,4,''),6) + ' ' + RIGHT(@t,4) + ' '+ LEFT(RIGHT(@t,22),8) AS DATETIME)
As a side note: the time zone information...
June 15, 2011 at 12:58 pm
You might want to have a look at the following blog for a better performing alternative:
http://sqlblogcasts.com/blogs/sqlandthelike/archive/2009/08/27/sql-and-contiguous-data-ranges.aspx
June 15, 2011 at 12:23 pm
I don't think it's an issue of the SQL Server version.
A quick google search returned this link (among others).
Did you try to connect to the database using SQL Server Management...
June 14, 2011 at 3:23 pm
I'd say add another post to this thread. To pen another thread regarding the same issue doesn't make that much sense and if you'd simply edit your first post folks...
June 13, 2011 at 12:14 pm
You may have noticed that there's no response yet.
One possible reason is the way the question is posted: some of us simply will skip a post if we have to...
June 13, 2011 at 10:41 am
And what is your question (assuming there is one)?
June 13, 2011 at 10:36 am
GilaMonster (6/10/2011)
LutzM (6/10/2011)
Some folks refer the transaction log backup as an incremental log backup though....
I can call a horse a car, doesn't make it one. Incremental backups != transaction log...
June 10, 2011 at 11:13 am
A differential backup only holds the "information" (data, DDL, sprocs and the like) that changed since the last full or file backup. "Changed" basically means that the related transaction completed...
June 10, 2011 at 11:05 am
There is no "incremental" database backup. It's called "differential" backup.
Some folks refer the transaction log backup as an incremental log backup though....
Rest of the answer: see your other post 😉
June 10, 2011 at 10:49 am
Ouch. My fault. That's what's happening if I start posting untested code...
Go for the 2nd version I posted (using the CTE and CrossTab approach).
If you're dealing with a multi-mill table...
June 9, 2011 at 5:06 pm
Glad I could help 😀
Did you verify the actual exection plan of the current solution to see if there might be an index to even speed it up further?
Regarding the...
June 9, 2011 at 3:06 pm
Here are two possible scenarios. But since I don't have anything to test against regarding correct results and performance (e.g. comparing execution plans), you'd need to test both and compare.
As...
June 9, 2011 at 1:48 pm
GilaMonster (6/9/2011)
I post too much.
Congrats, Gail!!
And thank you for continuously sharing your knowledge!
June 9, 2011 at 1:06 pm
My question is that Should we use the indexed views or not.
Maybe. Maybe not. Depends on various items (e.g. business process, table size, hardware, numberof calls etc.).
What are the pros...
June 8, 2011 at 2:11 pm
Gianluca Sartori (6/8/2011)
Roy Ernest (6/8/2011)
Does going down the stairs and way to the back of the office towards the beach to take a smoke break count for this? 🙂
That's not...
June 8, 2011 at 12:15 pm
Viewing 15 posts - 1,396 through 1,410 (of 5,502 total)