Viewing 15 posts - 2,746 through 2,760 (of 3,544 total)
Jonathan, as usual, in on the ball here. His solution is the answer to your question (I overlooked the word sum doh
)....
Far away is close at hand in the images of elsewhere.
Anon.
March 11, 2004 at 7:12 am
First look indicates that you have not specified how to join systemDataTest and res_test which will result in a cartesian join. Can you post table ddl.
Far away is close at hand in the images of elsewhere.
Anon.
March 11, 2004 at 6:59 am
Do you mean this
SELECT 'this string' + ' ' + 'has been concatenated'
or with variables
DECLARE @string1 varchar(30),@string2 varchar(30)
SET @string1 = 'this string'
SET @string2 = 'has been concatenated'...
Far away is close at hand in the images of elsewhere.
Anon.
March 11, 2004 at 6:44 am
SELECT RIGHT(colname,CHARINDEX(CHAR(13),REVERSE(colname))-1)
FROM
Far away is close at hand in the images of elsewhere.
Anon.
March 9, 2004 at 7:17 am
If the function is working with a predefined string but not from your table then the problem must be with the data not conforming to the rules of the function.
As...
Far away is close at hand in the images of elsewhere.
Anon.
March 8, 2004 at 3:07 am
noeld, good stuff.
I implemented a staff database where a person only had only one internal, external, mobile number but could belong to more than one dept, report to more than one...
Far away is close at hand in the images of elsewhere.
Anon.
March 5, 2004 at 2:38 am
Is that so you can ignore mine
![]()
Far away is close at hand in the images of elsewhere.
Anon.
March 2, 2004 at 6:39 am
| Hey, Dave, didn't you say some months ago, you're going to update to SQL2k? Or are you waiting... |
Far away is close at hand in the images of elsewhere.
Anon.
March 1, 2004 at 9:49 am
I still agree with Antares.
Enterprise Manager is definately not correct but then so is SERVERPROPERTY as this does not work on SQL7 and therefore to use it you must know...
Far away is close at hand in the images of elsewhere.
Anon.
March 1, 2004 at 7:32 am
This would do away with dynamic sql.
SELECT f.Name,
(CASE WHEN @language = 'English'
THEN t.English ELSE t.Spanish END) as 'Type',
f.Address1,
f.Address2,
f.City,
f.State,
f.ZIP,
f.Country,
f.Phone,
f.Fax,
f.WebSite
FROM...
Far away is close at hand in the images of elsewhere.
Anon.
March 1, 2004 at 6:51 am
It should be noted that SERVERPROPERTY is SQL2K only. The question only specified 'version number of your SQL Servers' not specific versions. Therefore, this question when applied to me (SQL7...
Far away is close at hand in the images of elsewhere.
Anon.
March 1, 2004 at 6:26 am
You can if you use TRANSACTIONS
Far away is close at hand in the images of elsewhere.
Anon.
March 1, 2004 at 5:55 am
This may help for the future. When doing deletes that involve joins I first create a select query (using the table to delete from as the main table) to check...
Far away is close at hand in the images of elsewhere.
Anon.
February 27, 2004 at 7:11 am
Hi Frank,
Yeh
Long time no conversation Frank ![]()
Far away is close at hand in the images of elsewhere.
Anon.
February 27, 2004 at 6:34 am
| No nice emoticons |
But you can still type the text equivalent
eg <colon>O <colon>sick<colon> <semicolon><rightbracket>
![]()
Far away is close at hand in the images of elsewhere.
Anon.
February 27, 2004 at 6:26 am
Viewing 15 posts - 2,746 through 2,760 (of 3,544 total)