Viewing 15 posts - 4,171 through 4,185 (of 7,187 total)
You can write your own script to delete files older than a certain age, or you can create a maintenance plan with a Maintenance Cleanup Task. I think I'd...
January 2, 2013 at 9:11 am
Is there anything in the errorlog at the same time as this error?
John
December 31, 2012 at 8:17 am
I think the MERGE statement may work for you here. Have you tried that?
John
December 31, 2012 at 5:25 am
ScottPletcher (12/28/2012)
I would never try to re-run the prod processes to get the data for other environments. That would be a nightmare to keep clean.
That's how we do it....
December 31, 2012 at 3:30 am
CELKO (12/28/2012)
CREATE TABLE Calendar
(cal_date DATE NOT NULL PRIMARY KEY,
julian_business_nbr INTEGER NOT NULL,
...);
INSERT INTO Calendar
VALUES ('2007-04-05', 42),
('2007-04-06',...
December 28, 2012 at 8:52 am
wannalearn (12/28/2012)
December 28, 2012 at 8:25 am
Looks like the conversion error is aborting the batch before the error handling is reached. Have you tried TRY...CATCH instead?
John
December 27, 2012 at 6:54 am
What version of Visual Studio are you using, and what is the version of dtexec.exe?
John
December 27, 2012 at 1:19 am
Can you open the package in Visual Studio or in the Package Execution Utility?
John
December 24, 2012 at 1:44 am
MSDE is a SQL Server 2000 product, isn't it? Does it not come with the delete file xp? If not, you could write your own script in C#,...
December 21, 2012 at 9:23 am
Phil Parkin (12/21/2012)
eklavu (12/20/2012)
UPDATE #TEST_TABLESET COLS = SUBSTRING(COLS,3,LEN(COLS)-2)
WHERE LEFT(COLS,2) = 'NA'
Possibly not relevant here, but if the 'COLS' column is indexed, a better option would be
where cols like 'NA%'
As...
December 21, 2012 at 5:01 am
Yes, paste the code into notepad, edit it so that it's right for your environment, and save it as a .bat or .cmd file. Make sure the path to...
December 21, 2012 at 2:22 am
I would guess that you can't start a job remotely via a linked server. You could try using Powershell or SSIS instead. Or you could set up some...
December 21, 2012 at 2:17 am
Use a CASE expression in your SUM statement, something like this:
...
SUM(CASE WHEN Year = 2010 THEN Amount ELSE 0 END) AS Total2010,
SUM(CASE WHEN Year = 2011 THEN Amount ELSE 0...
December 20, 2012 at 6:52 am
In your attempt yesterday, you aliased your derived table with the name of table that already exists, which is confusing for me at least, if not for SQL Server. ...
December 20, 2012 at 5:47 am
Viewing 15 posts - 4,171 through 4,185 (of 7,187 total)