Viewing 15 posts - 1 through 15 (of 15 total)
I have found the solution:
DECLARE @date as VARCHAR (10)
SET @date = convert(varchar, DATEADD (week, -1, getdate()), 103)
DELETE FROM table
WHERE @date > columName
Thanks:D
May 23, 2008 at 9:54 am
thank you for your answer.
I have to take in account the day of today, instead of doing a select of MAX(date) because it's going to be an SP executed...
May 23, 2008 at 9:28 am
It works but after if (...) goes begin not then.
IF NOT EXISTS (SELECT Data, ResetFinreset, NumeroDeDispositivo, NumeroDeZona, NumeroDeError
FROM Telifrais.dbo.HIST_RESET
WHERE Data =...
May 21, 2008 at 6:54 am
Mi table doesn't have any primary keys. It's compound by 5 columns and the table doesn't have any relationship with other tables.
So I need something to don't repeat the...
May 21, 2008 at 6:46 am
Matt Miller (5/14/2008)
May 15, 2008 at 9:43 am
Ok, I made a mistake doing the question in that way.
I mean that if there is a stored procedure running (doesn't mind what is doing to the database) and...
May 15, 2008 at 9:01 am
MANU (5/14/2008)
Have you gone thru this link:http://sqldev.net/sqlagent/SQLAgentRecuringJobsInSecs.htm
Manu
Yes, I have. Take a look about the last update date: 2003.
I have to say that the interface that we can...
May 15, 2008 at 1:30 am
Matt Miller (5/14/2008)
If the CSV show up once per day/gets modified just once in a while, running something continuously in the hopes of catching the mod time is, well -...
May 14, 2008 at 9:52 am
mtassin (5/14/2008)
1. You have an application that drops csv files to a specific folder on an ad-hoc type of basis
2. You need to read those...
May 14, 2008 at 9:10 am
I know that we cannot know what is going to happen, because a database is non deterministic. So as you have told me, a querie can last between 5 or...
May 14, 2008 at 6:49 am
Hello,
My purpose is to read some csv files from an application. And to do that I thought that the best way was to bulk that csv to the data...
May 14, 2008 at 4:34 am
The stored procedure that makes the bulk takes 120-500 milliseconds. But as I am doing the bulk each second it would be 12%-50% of a second that is too much,...
May 13, 2008 at 6:31 am
Without installing the dll it gives me the same error using
EXEC master.dbo.xp_filesize @Filename, @filesize OUTPUT
It's normal for SQL SERVER 2005 to not have that dll?
Anyway, do you know how...
May 6, 2008 at 9:03 am
My boss has told me to not install that library. So I am trying to do it in another way. He has told me to do it with incremental bulk...
April 29, 2008 at 8:48 am
Viewing 15 posts - 1 through 15 (of 15 total)