Viewing 15 posts - 23,371 through 23,385 (of 26,490 total)
You need to put double quotes around the filename, like this: "C:\Information technology\Dral\Dral_ENC.zip"
December 4, 2008 at 3:55 pm
Just so you know, this is a MS SQL Server site. There may not be many people here who will be able to help you with PL/SQL. Most...
December 4, 2008 at 10:39 am
Here is some code you can work with. If you have a test environment, test it there first. You do need to make some adjustments to the code...
December 4, 2008 at 9:16 am
Andrew.Buis (12/4/2008)
Also, I couldn't figure out why it wouldn't allow me to DECLARE a variable in a tvf, else that would be much more readable.
Because you are working with an...
December 4, 2008 at 7:02 am
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
Viewing 15 posts - 23,371 through 23,385 (of 26,490 total)