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  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > abbreviations sql commands

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-24-11, 05:20
Pumbachero Pumbachero is offline
Registered User
 
Join Date: Oct 2011
Posts: 6
abbreviations sql commands

Hi There,

are there abbreviations of the commands in sql. For example select = slt or from = fr or something similar.

i need to get a statement shorter!

Thank you very much!
Reply With Quote
  #2 (permalink)  
Old 10-24-11, 05:24
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,407
No, there is no such thing.

Why do you need to shorten your statement?
Reply With Quote
  #3 (permalink)  
Old 10-24-11, 06:38
Pumbachero Pumbachero is offline
Registered User
 
Join Date: Oct 2011
Posts: 6
I have to fill a VARCHAR2 (2000)-field and my statement has 3400 characters. For now i cannot change the Datatype to a VARCHAR2 (4000)---internal problems! hmm...

I was thinking :

If i could replace the select, the where and from commands + make aliases for my column names and tables with 2 characters for an entire decode statement wich includes 36 selects i could shorten the statement to 2464 characters.

So anyway...its not enough ! Have to wait to change Datatype

Thanks for reading
Reply With Quote
  #4 (permalink)  
Old 10-24-11, 06:58
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,407
If you change the datatype go for a CLOB right away. Otherwise I wouldn't be surprised if you need another workaround once you hit the 4000 characters limit
Reply With Quote
  #5 (permalink)  
Old 10-24-11, 07:09
Pumbachero Pumbachero is offline
Registered User
 
Join Date: Oct 2011
Posts: 6
Yes you are right! Maybe it can get larger!

will go for the CLOB!

thnx
Reply With Quote
  #6 (permalink)  
Old 10-25-11, 02:37
JarlH JarlH is offline
Registered User
 
Join Date: Dec 2008
Location: At work...
Posts: 68
Talking bout abbreviations, here we got VARCHAR which is the short form for CHARACTER VARYING, and CLOB which stands for CHARACTER LARGE OBJECT.
Reply With Quote
Reply

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On