![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am wondering whether Trimming Varchar data is good for the space issue in database or overload (bad) for the I/O? Any suggestion? |
#3
| |||
| |||
|
|
There is an overhead to using varchar data but it really depends on the characteristics of your data as to whether you use it or you allocate a fixed length. ANSI_PADDING also has an effect on this (http://msdn.microsoft.com/library/de...-set_2uw7.asp). You might also want to take a look here http://groups.google.com/groups?sour...ar&sa=N&tab=wg Allan "Justin Doh" <Justin Doh (AT) discussions (DOT) microsoft.com> wrote in message news:89BC1C40-C414-45CC-BDC9-C29BF66DF18C (AT) microsoft (DOT) com: I am wondering whether Trimming Varchar data is good for the space issue in database or overload (bad) for the I/O? Any suggestion? |
#4
| |||
| |||
|
|
Thank you Allan for the reply. I am particularly interested in Trimming of Varchar or Trimming of Char. What is your thought on that? I would appreciate. "Allan Mitchell" wrote: There is an overhead to using varchar data but it really depends on the characteristics of your data as to whether you use it or you allocate a fixed length. ANSI_PADDING also has an effect on this (http://msdn.microsoft.com/library/de...y/en-us/tsqlre f/ts_set-set_2uw7.asp). You might also want to take a look here http://groups.google.com/groups?sour...8&rls=GGLD,GGL D:2005-33,GGLD:en&q=Index%20Performance%20Char%20vs%20Var char&sa=N&tab=w g Allan "Justin Doh" <Justin Doh (AT) discussions (DOT) microsoft.com> wrote in message news:89BC1C40-C414-45CC-BDC9-C29BF66DF18C (AT) microsoft (DOT) com: I am wondering whether Trimming Varchar data is good for the space issue in database or overload (bad) for the I/O? Any suggestion? |
![]() |
| Thread Tools | |
| Display Modes | |
| |