Viewing 15 posts - 2,416 through 2,430 (of 3,543 total)
Well Kenneth says it all
Looking at the code is the only surest way. What I would do is script all the procs into...
January 18, 2005 at 6:40 am
![]() | Is there any way of getting the list of the DTS in a server? |
SELECT * FROM msdb.dbo.sysdtspackages...
January 18, 2005 at 6:24 am
Ryan beat me to it, however I would write the query as one, thus
SELECT ProductID
FROM tblProductAttributeValues
WHERE av.Active = 1 AND
((AttributeID = 5 AND AttributeValue like '%gold%') OR
(AttributeID...
January 17, 2005 at 7:32 am
Not sure if this of any use, but it should show the first of 3 consecutive dates that are Mon-Fri. This is written off the top of my head with...
January 12, 2005 at 7:09 am
Using
CardNumber LIKE '%1234'
or
RIGHT(CardNumber,4) = '1234'
will at best do an Index Scan
The only way I can see to achieve an Index Seek to do like Frank's suggestion, a slight variation
CREATE TABLE...
January 12, 2005 at 6:52 am
![]() | Try coming up with another excuse to explain how this question is valid. |
Don't need an excuse, depends...
January 10, 2005 at 8:44 am
Yes true Frank, the order cannot be guaranteed. However all the times I have done this sql has always updated in order of the rows in the heap but as...
January 10, 2005 at 7:55 am
Also use SUM(ISNULL(Qty,0))
to avoid the
Warning: Null value is eliminated by an aggregate or other SET operation.
message
January 10, 2005 at 7:24 am
Depends on what output you want. To do extract of this type, I use temp tables using the logic as follows (create temp tables with structure required)
Insert into Temp1 from...
January 10, 2005 at 7:09 am
The question asked what is 'not a valid action' dependancies is not an action it is a parameter applied using an action.
January 10, 2005 at 6:32 am
OK, OK, how about this then
declare @sum int
set @sum = 0
update
set @sum = [col b] = @sum + [col a]
January 7, 2005 at 8:55 am
Do you mean like this
UPDATE A
SET A.EntryCntManual = B.EntryCntManual,
A.EntryDolManual = B.EntryDolManual,
A.EntryCntSwipe = B.EntryCntSwipe,
A.EntryDolSwipe = B.EntryDolSwipe,
A.EntryCntPerc = B.EntryCntPerc,
A.EntryDolPerc = B.EntryDolPerc
FROM...
January 7, 2005 at 8:29 am
hey come on frank, stop stirring it
That combination was not asked for