Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

full text search sql 2000 and indexed views

 
   Database Forums (Home) -> Full Text RSS
Next:  Where is performance for IBM websites ?  
Author Message
Letford

External


Since: Nov 05, 2007
Posts: 1



(Msg. 1) Posted: Mon Nov 05, 2007 12:09 am
Post subject: full text search sql 2000 and indexed views
Archived from groups: microsoft>public>sqlserver>fulltext (more info?)

Hi,
Is it possible to do a full text catalogue on an indexed view in SQL 2000?

It looks like you can only do tables and the functionality for indexed views
is in SQL 2005, is this correct?

Thanks

 >> Stay informed about: full text search sql 2000 and indexed views 
Back to top
Login to vote
Hilary Cotter3

External


Since: Aug 28, 2004
Posts: 1259



(Msg. 2) Posted: Wed Nov 07, 2007 5:33 am
Post subject: Re: full text search sql 2000 and indexed views [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You are correct, you can only full-text index indexed views in SQL 2005.

--
RelevantNoise.com - dedicated to mining blogs for business intelligence.

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Letford" wrote in message

> Hi,
> Is it possible to do a full text catalogue on an indexed view in SQL 2000?
>
> It looks like you can only do tables and the functionality for indexed
> views
> is in SQL 2005, is this correct?
>
> Thanks

 >> Stay informed about: full text search sql 2000 and indexed views 
Back to top
Login to vote
Adam P. Cassidy

External


Since: May 19, 2008
Posts: 1



(Msg. 3) Posted: Mon May 19, 2008 8:36 am
Post subject: Re: full text search sql 2000 and indexed views [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hilary,

Can you give an example of this? I've tried to create an indexed view that
contains a text column and when I attempt to create the index I get the error:

Msg 1942, Level 16, State 1, Line 2
Cannot create index on view 'Test.dbo.FullTextView'. It contains text,
ntext, image or xml columns.

Here are my steps:


--Set the options to support indexed views.
SET NUMERIC_ROUNDABORT OFF;
SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT,
QUOTED_IDENTIFIER, ANSI_NULLS ON;
GO
--Create view with schemabinding.
ALTER VIEW dbo.FullTextView
WITH SCHEMABINDING
AS
SELECT Table1.OrderID, TextField1, TextField2
FROM dbo.Table1 JOIN dbo.Table2
ON Table1.OrderID = Table2.OrderID
WHERE Table2.Status = 'Open'
GO
--Create an index on the view.
CREATE UNIQUE CLUSTERED INDEX idxFullTextView_TestIndex
ON dbo.FullTextView (OrderID);


When I run this, I get the error. I would love to be able to accomplish
what you are indicating in order to complete some performance testing since
currently the performance of full text searching frankly is horrible in the
situation I'm looking for.

Adam


"Hilary Cotter" wrote:

> You are correct, you can only full-text index indexed views in SQL 2005.
>
> --
> RelevantNoise.com - dedicated to mining blogs for business intelligence.
>
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
>
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Letford" wrote in message
>
> > Hi,
> > Is it possible to do a full text catalogue on an indexed view in SQL 2000?
> >
> > It looks like you can only do tables and the functionality for indexed
> > views
> > is in SQL 2005, is this correct?
> >
> > Thanks
>
>
>
 >> Stay informed about: full text search sql 2000 and indexed views 
Back to top
Login to vote
Hilary Cotter3

External


Since: Aug 28, 2004
Posts: 1259



(Msg. 4) Posted: Tue May 20, 2008 6:00 am
Post subject: Re: full text search sql 2000 and indexed views [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You can't full-text index views in SQL 2000.

"Adam P. Cassidy" wrote in
message
> Hilary,
>
> Can you give an example of this? I've tried to create an indexed view
> that
> contains a text column and when I attempt to create the index I get the
> error:
>
> Msg 1942, Level 16, State 1, Line 2
> Cannot create index on view 'Test.dbo.FullTextView'. It contains text,
> ntext, image or xml columns.
>
> Here are my steps:
>
>
> --Set the options to support indexed views.
> SET NUMERIC_ROUNDABORT OFF;
> SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT,
> QUOTED_IDENTIFIER, ANSI_NULLS ON;
> GO
> --Create view with schemabinding.
> ALTER VIEW dbo.FullTextView
> WITH SCHEMABINDING
> AS
> SELECT Table1.OrderID, TextField1, TextField2
> FROM dbo.Table1 JOIN dbo.Table2
> ON Table1.OrderID = Table2.OrderID
> WHERE Table2.Status = 'Open'
> GO
> --Create an index on the view.
> CREATE UNIQUE CLUSTERED INDEX idxFullTextView_TestIndex
> ON dbo.FullTextView (OrderID);
>
>
> When I run this, I get the error. I would love to be able to accomplish
> what you are indicating in order to complete some performance testing
> since
> currently the performance of full text searching frankly is horrible in
> the
> situation I'm looking for.
>
> Adam
>
>
> "Hilary Cotter" wrote:
>
>> You are correct, you can only full-text index indexed views in SQL 2005.
>>
>> --
>> RelevantNoise.com - dedicated to mining blogs for business intelligence.
>>
>> Looking for a SQL Server replication book?
>> http://www.nwsu.com/0974973602.html
>>
>> Looking for a FAQ on Indexing Services/SQL FTS
>> http://www.indexserverfaq.com
>> "Letford" wrote in message
>>
>> > Hi,
>> > Is it possible to do a full text catalogue on an indexed view in SQL
>> > 2000?
>> >
>> > It looks like you can only do tables and the functionality for indexed
>> > views
>> > is in SQL 2005, is this correct?
>> >
>> > Thanks
>>
>>
>>
 >> Stay informed about: full text search sql 2000 and indexed views 
Back to top
Login to vote
Adam P. Cassidy

External


Since: May 20, 2008
Posts: 1



(Msg. 5) Posted: Tue May 20, 2008 7:19 am
Post subject: Re: full text search sql 2000 and indexed views [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

This is a 2005 database. I assumed it wasn't possible on 2005 either, until
I saw this post. If it's possible with 2005, I'm trying to figure out where
in my example below I'm going wrong.

The caveat to this is that this WAS a 2000 database. As I mentioned I'm in
the testing process and so I took the backup of the database, restored it
onto a 2005 installation, set the compatibility level to 90 and attempted to
run this. Is that process not sufficient in order to accomplish this?

Adam

"Hilary Cotter" wrote:

> You can't full-text index views in SQL 2000.
>
> "Adam P. Cassidy" wrote in
> message
> > Hilary,
> >
> > Can you give an example of this? I've tried to create an indexed view
> > that
> > contains a text column and when I attempt to create the index I get the
> > error:
> >
> > Msg 1942, Level 16, State 1, Line 2
> > Cannot create index on view 'Test.dbo.FullTextView'. It contains text,
> > ntext, image or xml columns.
> >
> > Here are my steps:
> >
> >
> > --Set the options to support indexed views.
> > SET NUMERIC_ROUNDABORT OFF;
> > SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT,
> > QUOTED_IDENTIFIER, ANSI_NULLS ON;
> > GO
> > --Create view with schemabinding.
> > ALTER VIEW dbo.FullTextView
> > WITH SCHEMABINDING
> > AS
> > SELECT Table1.OrderID, TextField1, TextField2
> > FROM dbo.Table1 JOIN dbo.Table2
> > ON Table1.OrderID = Table2.OrderID
> > WHERE Table2.Status = 'Open'
> > GO
> > --Create an index on the view.
> > CREATE UNIQUE CLUSTERED INDEX idxFullTextView_TestIndex
> > ON dbo.FullTextView (OrderID);
> >
> >
> > When I run this, I get the error. I would love to be able to accomplish
> > what you are indicating in order to complete some performance testing
> > since
> > currently the performance of full text searching frankly is horrible in
> > the
> > situation I'm looking for.
> >
> > Adam
> >
> >
> > "Hilary Cotter" wrote:
> >
> >> You are correct, you can only full-text index indexed views in SQL 2005.
> >>
> >> --
> >> RelevantNoise.com - dedicated to mining blogs for business intelligence.
> >>
> >> Looking for a SQL Server replication book?
> >> http://www.nwsu.com/0974973602.html
> >>
> >> Looking for a FAQ on Indexing Services/SQL FTS
> >> http://www.indexserverfaq.com
> >> "Letford" wrote in message
> >>
> >> > Hi,
> >> > Is it possible to do a full text catalogue on an indexed view in SQL
> >> > 2000?
> >> >
> >> > It looks like you can only do tables and the functionality for indexed
> >> > views
> >> > is in SQL 2005, is this correct?
> >> >
> >> > Thanks
> >>
> >>
> >>
>
>
 >> Stay informed about: full text search sql 2000 and indexed views 
Back to top
Login to vote
Hilary Cotter3

External


Since: Aug 28, 2004
Posts: 1259



(Msg. 6) Posted: Tue May 20, 2008 2:53 pm
Post subject: Re: full text search sql 2000 and indexed views [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Try varchar(max)


create table table1 (OrderID int not null identity constraint Table1PK
primary key,
TextField1 varchar(max), TextField2 varchar(max))
GO
create table table2 (OrderID int not null identity constraint Table2PK
primary key,
Status varchar(20))
GO
--Create view with schemabinding.
create VIEW dbo.FullTextView
WITH SCHEMABINDING
AS
SELECT Table1.OrderID, TextField1, TextField2
FROM dbo.Table1 JOIN dbo.Table2
ON Table1.OrderID = Table2.OrderID
WHERE Table2.Status = 'Open'
GO
--Create an index on the view.
CREATE UNIQUE CLUSTERED INDEX idxFullTextView_TestIndex
ON dbo.FullTextView (OrderID);
GO


"Adam P. Cassidy" wrote in message

> This is a 2005 database. I assumed it wasn't possible on 2005 either,
> until
> I saw this post. If it's possible with 2005, I'm trying to figure out
> where
> in my example below I'm going wrong.
>
> The caveat to this is that this WAS a 2000 database. As I mentioned I'm
> in
> the testing process and so I took the backup of the database, restored it
> onto a 2005 installation, set the compatibility level to 90 and attempted
> to
> run this. Is that process not sufficient in order to accomplish this?
>
> Adam
>
> "Hilary Cotter" wrote:
>
>> You can't full-text index views in SQL 2000.
>>
>> "Adam P. Cassidy" wrote in
>> message
>> > Hilary,
>> >
>> > Can you give an example of this? I've tried to create an indexed view
>> > that
>> > contains a text column and when I attempt to create the index I get the
>> > error:
>> >
>> > Msg 1942, Level 16, State 1, Line 2
>> > Cannot create index on view 'Test.dbo.FullTextView'. It contains text,
>> > ntext, image or xml columns.
>> >
>> > Here are my steps:
>> >
>> >
>> > --Set the options to support indexed views.
>> > SET NUMERIC_ROUNDABORT OFF;
>> > SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT,
>> > QUOTED_IDENTIFIER, ANSI_NULLS ON;
>> > GO
>> > --Create view with schemabinding.
>> > ALTER VIEW dbo.FullTextView
>> > WITH SCHEMABINDING
>> > AS
>> > SELECT Table1.OrderID, TextField1, TextField2
>> > FROM dbo.Table1 JOIN dbo.Table2
>> > ON Table1.OrderID = Table2.OrderID
>> > WHERE Table2.Status = 'Open'
>> > GO
>> > --Create an index on the view.
>> > CREATE UNIQUE CLUSTERED INDEX idxFullTextView_TestIndex
>> > ON dbo.FullTextView (OrderID);
>> >
>> >
>> > When I run this, I get the error. I would love to be able to
>> > accomplish
>> > what you are indicating in order to complete some performance testing
>> > since
>> > currently the performance of full text searching frankly is horrible in
>> > the
>> > situation I'm looking for.
>> >
>> > Adam
>> >
>> >
>> > "Hilary Cotter" wrote:
>> >
>> >> You are correct, you can only full-text index indexed views in SQL
>> >> 2005.
>> >>
>> >> --
>> >> RelevantNoise.com - dedicated to mining blogs for business
>> >> intelligence.
>> >>
>> >> Looking for a SQL Server replication book?
>> >> http://www.nwsu.com/0974973602.html
>> >>
>> >> Looking for a FAQ on Indexing Services/SQL FTS
>> >> http://www.indexserverfaq.com
>> >> "Letford" wrote in message
>> >>
>> >> > Hi,
>> >> > Is it possible to do a full text catalogue on an indexed view in SQL
>> >> > 2000?
>> >> >
>> >> > It looks like you can only do tables and the functionality for
>> >> > indexed
>> >> > views
>> >> > is in SQL 2005, is this correct?
>> >> >
>> >> > Thanks
>> >>
>> >>
>> >>
>>
>>
 >> Stay informed about: full text search sql 2000 and indexed views 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Full-Text indexed column -> deadlocks in multithreaded app.. - Hi group! I'm facing the the following problem: I want a full-text indexed column where records can get inserted constantly when under heavy load. The c# application (can be distributed) and works multithreaded on the same SQL server instance. Under...

SQL 2000 Full Text Search - Hi all, Appologies if this has been asked before, I have been searching for days now on how to do this without success. We have a database we would like users to be able to search I have enabled full text search and it works great but I cannot figure..

WSS, SQL 2005 and Full Text Search - I am having a problem getting SharePoint Service to acknowlwdge that Full Text Search is enabled. I upgraded the SharePoint MSDE database as documented without any problems, but when I go into SharePoint Admin section is says "The database this s...

Full-text Search - Hello, I have a full-text enabled field in my table has the following content as an example: "SQL Server is a comprehensive, integrated, end-to-end data solution that empowers your people by providing a more secure, reliable, and productive platfor...

Help with full Text Search - I am trying to create a full text search that uses a web interface similar to google's advanced search, which allows users to choose such things as "with this exact phrase" , "with all of these words" , "Without these words&quo...
   Database Forums (Home) -> Full Text All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]