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 / Service Broker / March 2007

Tip: Looking for answers? Try searching our database.

Sending large serialized objects through Service Broker Queues

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Max - 05 Mar 2007 03:20 GMT
Hello,

I'm working on an application that needs to send large serialized data
types through the Service Broker services.  The application is written
in C#.

I can serialize the objects into XML and insert them as the xml data
type without issue, but since binary serialized objects are
significantly smaller than XML serialized objects, I was wanting to
try going that route.

I tried declaring an image variable instead of an xml variable for the
send, but I get an error saying that text, ntext and image are not
allowed to be declared.

What do I need to do to send a large binary through the queue?

Max Fuqua
Remus Rusanu [MSFT] - 05 Mar 2007 07:07 GMT
VARBINARY(MAX)

If you use SqlCommand, pass the body as a parameter of type Varbinary with
length -1

HTH,
~ Remus

> Hello,
>
[quoted text clipped - 14 lines]
>
> Max Fuqua
 
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.