Viewing 15 posts - 2,746 through 2,760 (of 3,543 total)
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.
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'...
March 11, 2004 at 6:44 am
SELECT RIGHT(colname,CHARINDEX(CHAR(13),REVERSE(colname))-1)
FROM
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...
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...
March 5, 2004 at 2:38 am
![]() | Hey, Dave, didn't you say some months ago, you're going to update to SQL2k? Or are you waiting... |
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...
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...
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...
March 1, 2004 at 6:26 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...
February 27, 2004 at 7:11 am
![]() | No nice emoticons |
But you can still type the text equivalent
eg <colon>O <colon>sick<colon> <semicolon><rightbracket>
February 27, 2004 at 6:26 am
Viewing 15 posts - 2,746 through 2,760 (of 3,543 total)