Raised This Month: $51 Target: $400
 12% 

Max buffer length ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hadesownage
AlliedModders Donor
Join Date: Jun 2013
Location: Romania, Iași
Old 01-15-2017 , 00:56   Max buffer length ?
Reply With Quote #1

Hello I have a SQL Query who has 10211 characters, how can I use it to create a big table ?

Thanks
hadesownage is offline
Send a message via Yahoo to hadesownage Send a message via Skype™ to hadesownage
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 01-15-2017 , 01:57   Re: Max buffer length ?
Reply With Quote #2

Quote:
Originally Posted by hadesownage View Post
Hello I have a SQL Query who has 10211 characters, how can I use it to create a big table ?

Thanks
It you find your query is too long, instead write a stored procedure and just pass your parameters instead. This is more efficient and safer anyways...
__________________
ThatOneGuy is offline
hadesownage
AlliedModders Donor
Join Date: Jun 2013
Location: Romania, Iași
Old 01-15-2017 , 10:49   Re: Max buffer length ?
Reply With Quote #3

Quote:
Originally Posted by ThatOneGuy View Post
It you find your query is too long, instead write a stored procedure and just pass your parameters instead. This is more efficient and safer anyways...
I don't get it. Any example? Thanks!
hadesownage is offline
Send a message via Yahoo to hadesownage Send a message via Skype™ to hadesownage
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 01-15-2017 , 11:53   Re: Max buffer length ?
Reply With Quote #4

Quote:
Originally Posted by hadesownage View Post
I don't get it. Any example? Thanks!
Read this: http://lmgtfy.com/?q=sql+stored+procedure

It will answer any questions you have about stored procedures. As far as how to call them in SP, just use a regular TQuery like any other query.
__________________
ThatOneGuy is offline
Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode