Viewing 15 posts - 2,101 through 2,115 (of 5,356 total)
Also staying away from using CONVERT should perform slightly better, as SQL Server does not need to query the syslanguages system table.
Every litlle bit helps
April 30, 2004 at 5:59 am
As per BOL the max number of table in a SELECT statement is 256.
Here is something from Inside SQL Server 2000
Multiple-Table Joins
According to some folklore, SQL Server "does not optimize"...
April 28, 2004 at 7:43 am
Yup, while
exec master..xp_cmdshell 'time' seems to hang
exec master..xp_cmdshell 'time/t' will work fine.
The only way I've found to start such a programm is to use DTS (yuk!) with a win32...
April 28, 2004 at 3:46 am
Having fun with more dynamic dynamic sql
![]()
DECLARE @stmt NCHAR(1000)
SET @stmt = 'USE Frank_3 ' + CHAR(13) + 'DECLARE @stmt NCHAR(1000)' + CHAR(13)...
April 28, 2004 at 3:17 am
There is an undocumented (for obvious good reasons
) xp in SQL Server named xp_servicecontrol. You can use it to start and stop...
April 28, 2004 at 1:17 am
Take a look at OBJECT_ID() in BOL.
April 27, 2004 at 7:59 am
Why use a trigger?
If I understand you correct create relationships between the various tables.
April 27, 2004 at 12:42 am
The datatypes DECIMAL and NUMERIC are the same in SQL Server.
Will ...SET RMCPL_MD_POINTS= +@EchVpoin not work?
April 26, 2004 at 2:44 am
Change it to something like
SET @EchVpoin = 1/2.
or
SET @EchVpoin = 1./2
to force SQL Server not to assume that you want an integer result
April 26, 2004 at 2:32 am
Quick and dirty, this should work
select Cust_No, Tel_No,
(SELECT COUNT(*)
FROM
WHERE Cust_No = s.Cust_No
AND Tel_No <= s.Tel_No) AS Seq_No
FROM s
This might also be interesting
April 26, 2004 at 2:03 am
http://www.sommarskog.se/arrays-in-sql.html might give some ideas.
April 26, 2004 at 1:58 am
Viewing 15 posts - 2,101 through 2,115 (of 5,356 total)