|
|
| Next: Import Contants "Location Field" to BCM |
| Author |
Message |
pkelley External

Since: Jul 23, 2009 Posts: 3
|
Posted: Fri Aug 21, 2009 2:06 pm Post subject: Microsoft.Data.Odbc.OdbcCommand CommandText MAX length. Archived from groups: microsoft>public>outlook>program_addins (more info?) |
|
|
Below is an example of a VERY long SQL command generated by an Add-In.
My question is does anyone know if there is a maximum size imposed by either
the Microsoft.Data.Odbc.OdbcCommand field or the
Microsoft.Data.Odbc.ExecuteNonQuery() command?
I'm afraid if the query gets too big, an OdbcExcpetion will be thrown. Not
sure what the limit is?
<<<< SQL Example SNIP >>>
INSERT INTO dtens_lqm_fw_queues_budgetstoryqueue_v1_cls.TransferQueue
(Action, EventName, EventLocation, FromEmail, Attendees, EventStartDate,
EventStopDate, Memo, ExchUniqueId) VALUES ('CHANGE', 'Here''s the Media
Story', 'Mtns, Utah', 'Paul.Kelley@place.com', 'Paul.Kelley@place.com;',
'8/21/2009 2:00:00 PM', '8/21/2009 2:30:00 PM', '<<ABCSTORY>>
Min Story Depth:5
Max Story Depth:12
Budget Summary:Here’s a budget summary
Edition Name:Daily Experience
Page Name:Back
Department Name:News
Event Name:Inauguration Day
Run Date:01/20/2009
<<ABCSTORYEND>>
********************
<<ABCMEDIA>>
Media Type:Photo
Number of Photos:12
Budget Run Date:03/01/2009
Event:s
Edition:s
Contact Name:gg
Contact Phone:555-4444
Address:123 Street
City:Provo
State:Utah
Directions:There and back again.
Notes:Some notes
Story Name:Some story name.
<<ABCMEDIAEND>>
',
'040000008200E00074C5B7101A82E00800000000D0F6740E6822CA01000000000000000010000000B2D52BAB53A87544B5553FD249066739')
<<<< SQL Example END >>>> |
|
| Back to top |
|
 |
Ken Slovak - [MVP - Outlo External

Since: Oct 17, 2003 Posts: 3355
|
Posted: Sat Aug 22, 2009 4:02 pm Post subject: Re: Microsoft.Data.Odbc.OdbcCommand CommandText MAX length. [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Outlook related how?
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"pkelley" <pkelley DeleteThis @discussions.microsoft.com> wrote in message
news:CFEB8AC8-6974-4C56-9A81-A45B1AAFB5B5@microsoft.com...
> Below is an example of a VERY long SQL command generated by an Add-In.
> My question is does anyone know if there is a maximum size imposed by
> either
> the Microsoft.Data.Odbc.OdbcCommand field or the
> Microsoft.Data.Odbc.ExecuteNonQuery() command?
>
> I'm afraid if the query gets too big, an OdbcExcpetion will be thrown.
> Not
> sure what the limit is?
>
> <<<< SQL Example SNIP >>>
>
> INSERT INTO dtens_lqm_fw_queues_budgetstoryqueue_v1_cls.TransferQueue
> (Action, EventName, EventLocation, FromEmail, Attendees, EventStartDate,
> EventStopDate, Memo, ExchUniqueId) VALUES ('CHANGE', 'Here''s the Media
> Story', 'Mtns, Utah', 'Paul.Kelley@place.com', 'Paul.Kelley@place.com;',
> '8/21/2009 2:00:00 PM', '8/21/2009 2:30:00 PM', '<<ABCSTORY>>
> Min Story Depth:5
> Max Story Depth:12
> Budget Summary:Here’s a budget summary
> Edition Name:Daily Experience
> Page Name:Back
> Department Name:News
> Event Name:Inauguration Day
> Run Date:01/20/2009
> <<ABCSTORYEND>>
> ********************
> <<ABCMEDIA>>
> Media Type:Photo
> Number of Photos:12
> Budget Run Date:03/01/2009
> Event:s
> Edition:s
> Contact Name:gg
> Contact Phone:555-4444
> Address:123 Street
> City:Provo
> State:Utah
> Directions:There and back again.
> Notes:Some notes
> Story Name:Some story name.
> <<ABCMEDIAEND>>
> ',
> '040000008200E00074C5B7101A82E00800000000D0F6740E6822CA01000000000000000010000000B2D52BAB53A87544B5553FD249066739')
>
> <<<< SQL Example END >>>> |
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|