Re: nvarchar max



Hello Hilary,

True and I can't see why anyone would need to use (max) for the search term. I just came across it so thought I would post.


Simon Sabin
SQL Server MVP
http://sqlblogcasts.com/blogs/simons


Hi Simon

Point taken, but the way I read the post it is asking about column
data types as opposed to parameter:

Are you able to use a column of data type nvarchar max in freetext
searching.

Its hard to say what his/her intention was.

This posting is my own and doesn't necessarily represent
RelevantNoise's positions, strategies or opinions.

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
"Simon Sabin" <SimonSabin@xxxxxxxxxxxxxxx> wrote in message
news:62959f1a29e108c8ca8ec48c0bbe@xxxxxxxxxxxxxxxxxxxxxxx

Hello Hilary,

Put you can't use it as the search value. This isn't allowed.
declare @v varchar(max)
set @v = '..sfsdfsdfsdfdsf'
select * from containstable (table,column,@v)
Simon Sabin
SQL Server MVP
http://sqlblogcasts.com/blogs/simons
Yes, SQL FTS supports char, nchar, varchar, nvarchar, varchar(max),
nvarchar(max), image, varbinary and xml.

From:

http://msdn2.microsoft.com/en-us/library/ms187317.aspx

Is the name of the column or columns included in the full-text
index. Only columns of type char, varchar, nchar, nvarchar, text,
ntext, image, xml, and varbinary can be indexed for full-text
search.

This posting is my own and doesn't necessarily represent
RelevantNoise's positions, strategies or opinions.

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
"Nat Johnson" <NatJohnson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:B920CD3A-8B84-4BE8-8CD2-D7304540810A@xxxxxxxxxxxxxxxx
Are you able to use a column of data type nvarchar max in freetext
searching.
sorry probably a basic one.


.



Relevant Pages

  • Re: Identity Range Management
    ... > if Automatic Identity Range Management is not working correctly. ... >> Looking for a SQL Server replication book? ... >> Looking for a FAQ on Indexing Services/SQL FTS ...
    (microsoft.public.sqlserver.replication)
  • Re: new index, catalog empty
    ... Looking for a SQL Server replication book? ... Looking for a FAQ on Indexing Services/SQL FTS ... But even after forcing a catalog rebuild and full population, ...
    (microsoft.public.sqlserver.fulltext)
  • Re: Search for words in paths to a filename
    ... Looking for a SQL Server replication book? ... Looking for a FAQ on Indexing Services/SQL FTS ...
    (microsoft.public.inetserver.indexserver)
  • Re: Cant get AND to work.
    ... Looking for a SQL Server replication book? ... Looking for a FAQ on Indexing Services/SQL FTS ...
    (microsoft.public.sqlserver.fulltext)
  • Re: Ignored words causing error
    ... Looking for a SQL Server replication book? ... Looking for a FAQ on Indexing Services/SQL FTS ...
    (microsoft.public.sqlserver.fulltext)

Loading