Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Full-Text Search / July 2004

Tip: Looking for answers? Try searching our database.

UPDATETEXT between two servers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dario - 13 Jul 2004 10:17 GMT
I am trying to update an ntext field between two servers.
The sintax I am using is the following:

DECLARE @ploc binary(16)
DECLARE @prem binary(16)

SELECT @ploc = TEXTPTR(ntext_field)
FROM tablename
where id = 55298

SELECT @prem = TEXTPTR(ntext_field)
FROM SVR.DBNAME.dbo.tablename
where id = 55298

print @ploc
print @prem

UPDATETEXT tablename.ntext_field @ploc 0 NULL
[SVRNAME.DBNAME.dbo.tablename.ntext_field] @prem

I am testing a simple query to understand how it works
before doing an update on multiple records.
The pointer contains the correct values (if I run the
query on two local table it works fine), but if I run it
with a remote server the result is the local filed empty
without uptateing it.
The error is:
The number name 'SRVNAME.DBNAME.dbo.tablename' contains
more than the maximum number of prefixes. The maximum is 3
on the UPDATETEXT line.

Thanks for your help.

Dario
Hilary Cotter - 14 Jul 2004 17:27 GMT
I think you will find that ADO's stream object is much easier to work with
for things like this.

Signature

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

> I am trying to update an ntext field between two servers.
> The sintax I am using is the following:
[quoted text clipped - 30 lines]
>
> Dario
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.