Viewing 15 posts - 2,416 through 2,430 (of 3,544 total)
I guess by your post that you want to check the table structures not the data. The comparison will depend on column sequence.
select c.*
from sysobjects o
inner join syscolumns...
Far away is close at hand in the images of elsewhere.
Anon.
January 18, 2005 at 6:57 am
Well Kenneth says it all ![]()
Looking at the code is the only surest way. What I would do is script all the procs into...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
January 10, 2005 at 7:55 am
Or
SELECT CAST(FLOOR(Qty) AS int)
Far away is close at hand in the images of elsewhere.
Anon.
January 10, 2005 at 7:31 am
Also use SUM(ISNULL(Qty,0))
to avoid the
Warning: Null value is eliminated by an aggregate or other SET operation.
message
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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. ![]()
Far away is close at hand in the images of elsewhere.
Anon.
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]
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
January 7, 2005 at 8:29 am
hey come on frank, stop stirring it ![]()
That combination was not asked for ![]()
![]()