Viewing 15 posts - 2,986 through 3,000 (of 3,615 total)
If this procedure has been working fine with good performance then my first suspicion would be that something else is causing the problem. Perhaps some long running process that is...
October 11, 2004 at 2:14 am
I've heard of modelling tools, but then I've heard of unicorns and phoenixes as well
To me Key = Index.
October 8, 2004 at 9:10 am
AK1 needs to be a unique key if you are going to do this, otherwise you will take an AK47 to your data integrity.
As...
October 8, 2004 at 8:38 am
Note POWER will give an arithmetic error if you exceed 31 issues because POWER can only return a 32 bit integer.
October 7, 2004 at 8:55 am
DECLARE @tbl TABLE(Id Int , Issue CHAR(8))
DECLARE @byLoop TinyInt
SET @byLoop=1
WHILE @byLoop<32
BEGIN
INSERT @tbl(Id , Issue)
SELECT POWER(2,@byLoop-1),'Issue ' + CAST(@byLoop AS VARCHAR(2))
SET @byLoop=@byLoop+1
END
SELECT * from @tbl
October 7, 2004 at 8:52 am
This design limits the number of possible values to:
If you are happy with that then why not prepopulate...
October 7, 2004 at 8:10 am
Personally I would have three tables.
If you haven't already done so I would create an integer field to act as the primary key for the Customers and Models table.
On the...
October 7, 2004 at 1:25 am
I am assuming here that you have performed some form of large delete operation and want to shrink your database file?
Firstly, do a DBCC DBREINDEX on that tables from which...
October 6, 2004 at 1:47 am
In what way Jamie, what were you looking for?
October 6, 2004 at 1:39 am
Been there, done that.
In any organisation, be it social, business or what ever there seems to be four types of people.
An organisation...
October 5, 2004 at 2:23 am
I agree that keeping documentation up-to-date is an absolute pain in the arse but when you need it and it isn't there you are in trouble.
I work for a company...
October 5, 2004 at 1:34 am
SELECT TOP 1000 WITH TIES DT.telephoneid , DT.Requests
FROM (
SELECT telephoneid,count(*) AS Requests
FROM tbl
GROUP BY telephoneid
) AS DT.
ORDER BY DT.Requests DESC
This will return the TOP 1000 but also take into account...
October 1, 2004 at 4:58 am
I am very much of the opinion that it is small inch pebble steps that change the world rather than the big bang approach.
If you take a step out of...
September 30, 2004 at 1:50 am
I would plan to convert the queries over time because Access can cause huge locking problems.
Someone on this site recommended using pass thru queries but that means converting your queries...
September 30, 2004 at 1:39 am
Actually, 15 miles probably isn't enough!
On March 29th 2004 in Manchester UK an underground fire in a tunnel containing telecommunication wires took out an area that certainly extends to where...
September 30, 2004 at 1:36 am
Viewing 15 posts - 2,986 through 3,000 (of 3,615 total)