Viewing 15 posts - 3,751 through 3,765 (of 6,036 total)
And results I've got are quite different:
===== Jeff ======
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
DBCC execution completed. If DBCC printed error messages, contact your system...
July 22, 2007 at 1:55 pm
Strange...
I always thought that
FROM dbo.AilmentDetail_Test ad1,
dbo.AilmentDetail_Test ad2
WHERE ad1.AilmentID = ad2.AilmentID
...
July 22, 2007 at 1:40 pm
Rakesh,
where you formula come from?
Can users define formula?
Is there any fixed set of formula your system supports?
1st option is quite dangerous. It gives user a possibility to read data they...
July 21, 2007 at 6:44 pm
Queries with criteria will use index if this index is clustered.
Even if you query for less than 1% of rows in table optimizer does not know that when it's...
July 21, 2007 at 6:23 pm
DECLARE @GroupMeat TABLE ( -- Must be static table in DB!
Name nvarchar(100),
Group nvarchar(100)
)
INSERT INTO @GroupMeat (Name, Group)
SELECT N'COGS', N'COGS'
UNION
SELECT N'REVENUE', N'REVENUE'
UNION
SELECT N'Other Income', N'REVENUE'
UNION
SELECT N'Interest Income', N'REVENUE'
UNION
SELECT N'Gain on Disposal...
July 20, 2007 at 5:53 pm
I guess it's also about returning "20 first rows" or "Rows 21-40" in order specified.
To do sorting in application you need to pump while dataset from DB, even if user...
July 20, 2007 at 5:00 pm
Glenn,
despite all your reasons the method you've chosen is unappropriate.
End of story.
There are a lot of other technical reasons why it should not be done this way.
Rethink your approach.
July 20, 2007 at 7:54 am
Actually I did not find there any attempt of offence from your side.
![]()
I just explained why I took it from the point of known...
July 20, 2007 at 4:36 am
I saw at least 3 different ways of interpreting "22nd week of the year".
I believe OP knows better when Nth week starts and when it finishes, so it's up to...
July 20, 2007 at 3:07 am
I don't think there is any need of changing table.
I think in real life it does not matter which number is assigned to "Green" and which number is assigned to...
July 19, 2007 at 8:53 pm
Not sure why do you need that table at all.
It repeats information stored in master system tables.
CREATE VIEW [dbo].[ControlTable]
AS
SELECT srvname AS SQLServer, srvid as ServerId, ...
FROM master.dbo.sysservers
GO
Now, instead of...
July 19, 2007 at 8:40 pm
select empid,empname,jobrole
from dbo.emp
order by ISNULL(@DisableEmpidOrder, empid), ISNULL(@DisableEmpnameOrder, empname), ISNULL(@DisablejobroleOrder, jobrole)
July 19, 2007 at 2:59 pm
I wonder if "Green" may have only Number = 3.
What if some customer has all colors: Blue, Yellow, Red and Green?
Will it shift Green to Number = 4?
And which numbers...
July 18, 2007 at 10:43 pm
Viewing 15 posts - 3,751 through 3,765 (of 6,036 total)