Viewing 15 posts - 1,561 through 1,575 (of 3,544 total)
Use the duedate in the query and in the datagrid ItemDataBound event change the output value accordingly.
Far away is close at hand in the images of elsewhere.
Anon.
May 4, 2007 at 1:52 am
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...
Far away is close at hand in the images of elsewhere.
Anon.
May 4, 2007 at 1:46 am
Try
DTSSource(1).Name
DTSSource(2).Name
etc
Far away is close at hand in the images of elsewhere.
Anon.
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 ![]()
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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 <>...
Far away is close at hand in the images of elsewhere.
Anon.
May 1, 2007 at 4:04 am
| There has to be a better way... |
Not that I can think of ![]()
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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.
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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?
Far away is close at hand in the images of elsewhere.
Anon.
April 27, 2007 at 7:05 am
Thanks for the feedback Tom ![]()
Far away is close at hand in the images of elsewhere.
Anon.
April 26, 2007 at 6:34 am
Viewing 15 posts - 1,561 through 1,575 (of 3,544 total)