Viewing 15 posts - 3,631 through 3,645 (of 6,036 total)
How do you know there are 113,896 records in that table?
What query gives you this number?
_____________
Code for TallyGenerator
September 4, 2007 at 11:32 pm
There is no such thing as 1st or last row in relational databases.
You need to store time of recording to know which record was the latest one.
_____________
Code for TallyGenerator
September 4, 2007 at 4:01 am
You want to select all dates FROM WHERE?
Where are all dates stored?
_____________
Code for TallyGenerator
August 30, 2007 at 9:07 pm
select t1.col1 as t1_col1, t1.col2 as t1_col2,
from t1
left join t2 on t1.col1 = t2.col1 and t1.col2 = t2.col2
where t2.col1 is null
OR
select t1.col1 as t1_col1, t1.col2 as t1_col2,
from...
_____________
Code for TallyGenerator
August 30, 2007 at 6:34 pm
Answer in in the syntax of a query:
SELECT ...
FROM ???
Where have you "all dates" stored in?
_____________
Code for TallyGenerator
August 30, 2007 at 6:25 pm
Should we say that Yukon does the same to SQL Server?
It makes it too easy for the Java/VB/... developers or other very acknowledgeable persons to build something they can use...
_____________
Code for TallyGenerator
August 30, 2007 at 2:16 am
Tables t2-t10 should have clustered index on first column f1 and second column f2.
_____________
Code for TallyGenerator
August 20, 2007 at 3:23 pm
'C:\Amit\Online\Online.fmt' - is this file on the server or on you local drive?
_____________
Code for TallyGenerator
August 17, 2007 at 4:34 pm
SELECT O.Name
FROM sysobjects O
INNER JOIN sysindexes I ON I.ID = O.ID AND I.indid in (0, 1)
WHERE O.xtype = 'U' AND I.rowcnt > 0
BTW, you may have 2 or more...
_____________
Code for TallyGenerator
August 17, 2007 at 3:34 pm
Very badly.
_____________
Code for TallyGenerator
August 17, 2007 at 5:50 am
Check your function.
Probably there is a bug.
What you are getting if you are removing GROUP BY?
select dbo.GetDescription(lvl_id,6),dbo.GetDescription(lvl_id,8)
from tblHierarchy
_____________
Code for TallyGenerator
August 16, 2007 at 11:27 pm
How many Cards your system inserts per second?
Because if you've got 1 new Card per second (3600 per hour, 86400 per day) you gonna reach the limit of "int" capacity...
_____________
Code for TallyGenerator
August 15, 2007 at 11:26 pm
Based on this query you need clustered index on 2 columns: (purchaseorderid , serialnumber )
_____________
Code for TallyGenerator
August 15, 2007 at 11:22 pm
John, you're using quite freaky representation, so I doubt there is any ready made tool for this exercise.
You need to get binary string (0's and 1's), reverse it and get...
_____________
Code for TallyGenerator
August 15, 2007 at 2:35 pm
I believe you need to read topic CREATE INDEX in BOL.
_____________
Code for TallyGenerator
August 15, 2007 at 7:54 am
Viewing 15 posts - 3,631 through 3,645 (of 6,036 total)