Viewing 15 posts - 331 through 345 (of 433 total)
Lynn -- I wonder what kind of rounding the forum used to make your post show up first?
June 8, 2007 at 2:15 pm
You can build a table that contains a record for each date and hour for the time period you want to query and left join it to your login table.
June 8, 2007 at 1:38 pm
Are the missing records from the end of the file or are they scattered throughout the file? Are the 704 the ones that don't have all of the fields? I...
June 8, 2007 at 7:21 am
search this site for pivot or crosstab query for examples. This topic comes up a lot. Here is a proc I use in SQL7 and 2K. I'll get blasted for...
June 7, 2007 at 11:10 am
That is a sub I use to set step precedence so that future steps will run if I disable a middle step. I have 50 files that come in and...
June 7, 2007 at 9:05 am
They will. I use this to import several files depending on whether they are there or not. If you run it from in designer they will show as steps thet...
June 7, 2007 at 8:45 am
Instead of failing the step use activex to diable the steps you don't want to execute.
Here is an example.
sub chkfiles(flnm,tsk)
set fso=createobject("scripting.filesystemobject")
if fso.fileexists (flnm) then
DTSGlobalVariables.Parent.Steps("DTSStep_DTSDataPumpTask_"&tsk).DisableStep = False
setprec "DTSStep_DTSExecuteSQLTask_2","DTSStep_DTSDataPumpTask_"&tsk
else
DTSGlobalVariables.Parent.Steps("DTSStep_DTSDataPumpTask_"&tsk).DisableStep = True
end...
June 7, 2007 at 8:25 am
I have always found that workflow scripts are hard to manage because you can't see them in the designer. When you go to edit old packages that you have forgotten...
June 7, 2007 at 7:23 am
it is usually better to move or rename the file with a datestamp so you have a copy for some period of time.
The answer to your second question is yes. A...
May 25, 2007 at 12:18 pm
geez, I expected something cooler
May 23, 2007 at 7:21 pm
Don't lose hope. There are a bunch of more knowledgable people than me on in the evenings. Jeff Moden or Sergiy may have a better answer for you.
May 23, 2007 at 3:40 pm
I think that means you have to set up a bunch of if statements that executes the right datediff statement based on the parameter
declare @Datepart varchar(4), @sql nvarchar(100),@res...
May 23, 2007 at 3:13 pm
not sure what you mean by quoteless varchar datatype.
May 23, 2007 at 1:56 pm
declare @Datepart varchar(4), @sql varchar(8000)
set @Datepart = 'yyyy'
set @sql = 'SELECT dateadd('+@Datepart+', 2, getdate())'
exec (@sql)
May 23, 2007 at 1:39 pm
You would still need the DSN for access.
The way we do it is create a domain group for app users and the group gets access to the database. That way...
May 23, 2007 at 1:34 pm
Viewing 15 posts - 331 through 345 (of 433 total)