Viewing 15 posts - 1,216 through 1,230 (of 2,268 total)
why do you have two indexes with the same leading columns?
IX_tab3- nonclustered located on PRIMARY col5, col6, col7, col4
IX_tab3_5-nonclustered located on PRIMARY col5, col6, col7, col4, col2
Surely the first one...
November 13, 2009 at 10:38 am
If you want the same behaviour then use;
Select * from emp where CONTAINS(name , '"*varun*"')
you may also want to have a look at using CONTAINS for Full-Text searches as it...
November 13, 2009 at 5:26 am
Are those queries in the first post the actual queries or have you modified them?
The big difference between Like and FreeText is that FreeText will search for whole words, wheras...
November 13, 2009 at 5:04 am
Asuuming that this is on a development sever - you could try and rebuild the catalog
November 13, 2009 at 4:34 am
You can right-click on the catalog and click properties and under the population status - it will say 'populating catalog' if the catalog is building.
November 13, 2009 at 4:11 am
Has your Full-Text Catalog been fully built?
Are you able to provide some sample data showing the different results from the queries?
November 13, 2009 at 4:01 am
I perfer to use triggers but a couple of suggestions;
You could modify your insert procedures to log all the inserts to an audit table after they have written to the...
November 6, 2009 at 7:09 am
There may be an error in the function, can you post the code for that?
November 6, 2009 at 5:28 am
That's true,
Sorry I just re-read my code and worked out your were picking up on my 'Test' code that I had left in there accidently. I have edited...
November 5, 2009 at 6:03 am
It was not in the original code, I just assumed that the poster was looking to extract the string between '[' and ']'
But I guess you know what they say...
November 5, 2009 at 5:44 am
sorry read the code wrong this shoud work;
SELECT SUBSTRing
(description,
charindex ('[', description) + 1,
charindex ( ']',description ) - charindex ('[', description) -1
)
FROM PublishItem
WHERE description like '%Doc No%' and description...
November 5, 2009 at 5:35 am
What is the error message?
At a guess, is it complaining if it can't find '[' or ']' in the string as this would cause the substring to...
November 5, 2009 at 5:15 am
Sorry I don't have any definite answers but maybe someone else does.., unfortunately this is one of the problems that arise when using an EAV model to store all the...
November 2, 2009 at 9:32 am
TheSQLGuru (10/28/2009)
I would think that doing 4 table scans and 4 joins on a table with 40M rows WILL take some time. 🙂
I thought 40 Lakh = 4 Million...
October 28, 2009 at 11:52 am
This should work
(note: completly untested)
SELECT state, SUM(total) AS Total FROM (
select state,count(*),0 as total from tAccount
Where datestamp >= '9/1/2009' AND datestamp <= '9/30/2009'
group by state
UNION
SELECT...
October 28, 2009 at 5:45 am
Viewing 15 posts - 1,216 through 1,230 (of 2,268 total)