Viewing 15 posts - 23,371 through 23,385 (of 26,486 total)
What is your fiscal year for reporting? For instance Fiscal Year 2009 (our current fiscal year) is July 1, 2008 through June 30, 2009.
December 4, 2008 at 6:58 am
May I ask another dumb question? If you are going to update these fields using another procedure, why are you trying to set them to null, why not just...
December 3, 2008 at 9:50 pm
Here is another idea. The first update will take about 49 minutes (as seen earlier), but the second should actually run faster!
declare @BatchSize int;
set @BatchSize = 10000;
while exists(select 1...
December 3, 2008 at 4:33 pm
Never mind my post above, it won't work. I am having a brain dead day here at work and it is seeping over to here. You'd still need...
December 3, 2008 at 3:56 pm
[font="Arial Black"]IGNORE THIS POST, but I still want people to see it.[/font]
My original code:
declare @BatchSize int;
set @BatchSize = 10000;
while exists(select 1 from dbo.Claims where admission_date is not null
begin
...
December 3, 2008 at 3:52 pm
Doug (12/3/2008)
December 3, 2008 at 3:39 pm
If your database is using the simple recovery model, t-log backups aren't needed. I put that comment in for two reasons; one, you didn't mention the recovery model the...
December 3, 2008 at 3:33 pm
Or this:
declare @InputDate datetime,
@Increment int;
set @InputDate = getdate();
set @Increment = 0; -- Find EOM for current month
select dateadd(mm, datediff(mm, 0, @InputDate) +...
December 3, 2008 at 2:44 pm
Here is some more code for you to review:
declare @InputDate datetime,
@Increment int;
set @InputDate = getdate();
set @Increment = 0; -- Find EOM for...
December 3, 2008 at 2:28 pm
What I would suggest is using the TVF to load properly indexes temporary tables with the appropriate data, then use the temporary table in your master query for reporting.
December 3, 2008 at 1:24 pm
Should not be an issue either. I would start looking a permissions, on the directories you are attempting to restore the databases, as well as that of the user...
December 3, 2008 at 1:18 pm
ggraber already answered your question. The best thing I could suggest at this time is for you to test it yourself. All you need to do is create...
December 3, 2008 at 12:19 pm
rshafer (12/3/2008)
December 3, 2008 at 8:51 am
Doug (12/2/2008)
UPDATE dbo.CLAIMS SET admission_date =...
December 2, 2008 at 10:15 pm
skjoldtc (12/2/2008)
December 2, 2008 at 10:06 pm
Viewing 15 posts - 23,371 through 23,385 (of 26,486 total)