Viewing 15 posts - 76 through 90 (of 1,186 total)
SELECT Outie.*
FROM dbo.YourTable Outie
INNER JOIN (SELECT MAX(RId) RId
FROM dbo.yourTable GROUP BY City) Innie
ON Outie.RId = Innie.RId
Is another way to skin the same cat. ...
September 28, 2005 at 6:44 am
A trigger can potentially LOCK a table until it is complete. Depending on your environment you may wind up with BAD performance. An alternative is to create stored-procedures that MUST...
September 28, 2005 at 6:37 am
AFAIK (may be wrong) but you need to retrieve the TEXT column(s) last
September 27, 2005 at 7:07 am
If you use it without a TRANSACTION and there is a problem you won't be able to ROLLBACK ...
September 27, 2005 at 5:17 am
September 23, 2005 at 1:45 pm
Look at the COALESCE function for the conversion part. basically if the DATE field is NULL or EMPTY you could provide a dummy date to return
OR you could use...
September 23, 2005 at 1:39 pm
How about creating a table with 2 columns 1 for project and 1 for SEED.
Yuu would then use (inside a transaction) a RETRIEVE / UPDATE (to increment by 1) with using...
September 23, 2005 at 1:37 pm
research FileSystemObject on-line
September 23, 2005 at 1:29 pm
Why not checkout http://www.redgate.com. I would not look at Quest because they are an Oracle shop trying to get into MS SQL. They are still primarily Oracle (TOAD is...
September 23, 2005 at 11:34 am
Why not add DATEPART(YEAR, DiscoDate) AS 'YrDiscod'
And then ORDER BY YrDiscod, [Quarter]?
September 23, 2005 at 11:31 am
Generally UPDLOCK is used for INSERT/UPDATE on a table. What are you attempting to accomplish by using this lock?
September 23, 2005 at 5:56 am
Alternatively, you can use the CD you already have (assume Enterprise edition) and ONLY install the Client tools (QA, EM)...
September 22, 2005 at 10:03 am
I know that you say this field is NULLABLE. Is there anything that performs a mathematical equation
based off this field? Have you validated that there are no values of...
September 21, 2005 at 6:31 am
It could also be something as simple as WHERE FieldX <> 'V' when there are only a few items and when changed to WHERE FieldX IN ('A', 'B', 'C') the...
September 21, 2005 at 6:27 am
Viewing 15 posts - 76 through 90 (of 1,186 total)