Viewing 15 posts - 1,561 through 1,575 (of 3,543 total)
Ditto
Although I use a Auto_Open macro to execute proc and insert data by ordinal columns into one or more sheets formatted according to sql...
May 4, 2007 at 1:46 am
Try
DTSSource(1).Name
DTSSource(2).Name
etc
May 3, 2007 at 11:59 am
You could try to reattach the database using the .mdf and .ldf files but I cannot remember if this works with unattached databases
May 3, 2007 at 8:04 am
They will always be treated as a literal unless used in wilcard searching with LIKE and PATINDEX in which case you need to 'ESCAPE' them, ie
LIKE '%[%]%'
LIKE '%[_]%'
or
LIKE '%\%%' ESCAPE...
May 3, 2007 at 2:18 am
PIVOTing is best done at the presentation level, however,
can you post the DDL for the EmployeeHours table
What does "Mon" signify?
Is it Monday's value?
If so where is Tue,Wed etc?
What is the...
May 1, 2007 at 4:42 am
![]() | How do you most of you decide to use openrowset versus bcp versus DTS |
Whichever is easiest, gives the best...
May 1, 2007 at 4:30 am
Not sure how you get the values but presuming ColTitle1 contains the column name then you could do something like this
On Error Resume Next
DTSDestination("Col1") = DTSSource(ColTitle1)
If Err.Number <>...
May 1, 2007 at 4:04 am
![]() | There has to be a better way... |
Not that I can think of
May 1, 2007 at 3:47 am
Firstly, it/IT is an ignored (noise) word and unless you have removed it from the noise list you will not be able to search for 'IT' unless it is a...
May 1, 2007 at 2:41 am
You have ActivityID of 40 & 50 in ActivityProgress that are not in Activities Table
You have ActivityID of 160 in Activities Table that is not referenced in ActivityProgress
What constitutes a...
April 30, 2007 at 10:35 am
Also use profiler and look for high cpu and duration values. This will give you what procs and sql is consuming resources.
April 30, 2007 at 6:56 am
You could leave the first part in the function and put the second in the join like this
CREATE FUNCTION dbo.fn_Calendar_GetEndDate (@SDATE DATETIME,@DURATION INT)
RETURNS datetime
AS
BEGIN
DECLARE @EDATE DATETIME...
April 27, 2007 at 7:55 am
No you cannot use the function in that way.
Why not take the query from the function and join it to the INSERTED table?
What code is in the function?
April 27, 2007 at 7:05 am
I am a bit confused, the regex you say you want to get to, ie
^: ([0-9]{9}): *([0-9]+)
will match any number combination
or are you...
April 26, 2007 at 2:32 am
Viewing 15 posts - 1,561 through 1,575 (of 3,543 total)