Viewing 15 posts - 19,741 through 19,755 (of 26,490 total)
This will also "truncate" the time portion of a datetime value to midnight:
select dateadd(dd, datediff(dd, 0, getdate()), 0)
July 20, 2009 at 8:46 am
imSQrLy (7/20/2009)
July 20, 2009 at 7:21 am
This is one of the DMV's that you could use. You'll need to figure out exactly how at the moment as I need to head out to work.
sys.dm_db_partition_stats
July 20, 2009 at 7:10 am
At this point, then, I suggest you talk to you DBA's as it looks like you are going to need their assistance to accomplish this task since the transaction log...
July 20, 2009 at 7:02 am
It is getting late, so what I'm going to do right now is point you in a general direction and let you run with it a bit. You are...
July 20, 2009 at 12:02 am
You need to break it down into batches, and run t-log backups between inserts. Is there a common primary key or unique between the two tables?
July 19, 2009 at 11:55 pm
Does anyone else get the feeling that some people think we are here to not only help and mentor others but to actually do their work for them with no...
July 19, 2009 at 11:52 pm
Gift Peddie (7/19/2009)
I also can't see the government getting involved in vendor level certifications, providing the opportunity is there equally for all groups.
That is very nice point get random...
July 19, 2009 at 11:29 pm
Gift Peddie (7/19/2009)
Considering that obtaining Vendor Certifications is voluntary, I really don't think there are legal grounds for any governmental organization to make such requests. If these certifications were required...
July 19, 2009 at 8:32 pm
Gift Peddie (7/18/2009)
July 19, 2009 at 5:13 pm
You mention Novell's CNE in your editorial, and twenty years ago I had considered trying to earn that certification as the company I worked for at the time had a...
July 18, 2009 at 1:16 pm
Curious, but would this work as well?
select
FiscalMonthDTTM,
left(datename(month,FiscalMonthDTTM),3) Mth,
Sum(case when TimeType='YVW Crib'
...
July 18, 2009 at 3:54 am
Here is a way to accomplish your task. First, you need the following function (or one similar):
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE function [dbo].[DelimitedSplit] (
@pString varchar(max),
...
July 18, 2009 at 3:45 am
Assuming that you are updating existing records, why not put a ModifiedDate column on the table and update that column when you update the row? Then you just have...
July 17, 2009 at 12:57 pm
So, how about DDL for the table(s), sample data, expected results based on the sample data, and most importantly what you have done so far to solve your problem.
Need help...
July 17, 2009 at 12:48 pm
Viewing 15 posts - 19,741 through 19,755 (of 26,490 total)