A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Microsoft.Data.Odbc.OdbcCommand CommandText MAX length.



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 21st 09, 10:06 PM posted to microsoft.public.outlook.program_addins
pkelley
external usenet poster
 
Posts: 21
Default Microsoft.Data.Odbc.OdbcCommand CommandText MAX length.

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.Transf erQueue
(Action, EventName, EventLocation, FromEmail, Attendees, EventStartDate,
EventStopDate, Memo, ExchUniqueId) VALUES ('CHANGE', 'Here''s the Media
Story', 'Mtns, Utah', ', ;',
'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 Nameaily 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
',
'040000008200E00074C5B7101A82E00800000000D0F6740E6 822CA01000000000000000010000000B2D52BAB53A87544B55 53FD249066739')

SQL Example END
Ads
  #2  
Old August 22nd 09, 09:02 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Microsoft.Data.Odbc.OdbcCommand CommandText MAX length.

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" wrote in message
...
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.Transf erQueue
(Action, EventName, EventLocation, FromEmail, Attendees, EventStartDate,
EventStopDate, Memo, ExchUniqueId) VALUES ('CHANGE', 'Here''s the Media
Story', 'Mtns, Utah', ', ;',
'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 Nameaily 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
',
'040000008200E00074C5B7101A82E00800000000D0F6740E6 822CA01000000000000000010000000B2D52BAB53A87544B55 53FD249066739')

SQL Example END


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC win Outlook and VBA 1 March 26th 09 11:03 AM
How do I use ODBC to connect Outlook with Filemaker 9 Pro advance. JBW CCS Outlook - Calandaring 5 October 6th 08 06:34 PM
error odbc export to office programs maría Outlook - Using Contacts 0 December 9th 06 10:04 AM
Accessing Outlook Contacts via ODBC Matt Neimeyer Outlook - Using Contacts 2 August 21st 06 07:15 PM
ODBC to outlook custom forms [email protected] Outlook - General Queries 1 May 16th 06 02:14 PM


All times are GMT +1. The time now is 09:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.