Viewing 15 posts - 14,896 through 14,910 (of 18,923 total)
Can "out of date stats" cause this problem?
July 15, 2005 at 8:55 am
"TRC, JK, JK3, YS, HA"
If the use picks JK, all the books with JK and JK% will come back instead of just JK.
July 15, 2005 at 8:53 am
Can you create another table that keeps the same information vertically??
table BooksDetailsBIC
Bookid int
BIC varchar(5).
That way the query becomes increadibally more simple, an much faster :
Select Col1, Col2 from BooksDetails...
July 15, 2005 at 8:52 am
Do you want to select the records where the bic contains the choice of the user?
If you can't change the table design, this query will always take long,...
July 15, 2005 at 8:49 am
For 2 :
IF Object_id('fnSplit_Set') > 0
DROP FUNCTION dbo.fnSplit_Set
GO
IF Object_id('Numbers') > 0
DROP TABLE dbo.Numbers
GO
CREATE TABLE dbo.Numbers (PkNumber int identity(1,1), dude bit null, CONSTRAINT Pk_Number PRIMARY KEY CLUSTERED (PkNumber))
GO
INSERT INTO dbo.Numbers...
July 15, 2005 at 8:36 am
July 15, 2005 at 8:20 am
I don't have enought information to formualte an accurate answer. Can you post some sample data and the results needed?
Also you can look at the like operator and charindex('search', 'InThisString',...
July 15, 2005 at 8:18 am
I dare ya
.
BTW I have Joe Celko on the phone, maybe I'll make him drop by
July 15, 2005 at 8:12 am
It is on my machine. Maybe it has something to do with the default collation of the server (but wouldn't make sens in my case). I think that...
July 15, 2005 at 8:11 am
Shared drive is a folder on a networked computer that every user in the system can read the files. Send the docs there so that you can reopen them...
July 15, 2005 at 7:57 am
No offense, but the code I posted in my first post is the fastest way to extract that information. Why did you choose otherwise??
July 15, 2005 at 7:38 am
Do you have large columns (varchar(8000), text image)?
what does the estimated execution plan shows?
July 15, 2005 at 7:35 am
Viewing 15 posts - 14,896 through 14,910 (of 18,923 total)