SOLVED What benifits are there to Blank Padding values in a DB?

I was witting some SQL last week and got really frustrated when I couldn't figure out why my joins were not working from on DB to another. I eventually found that there where blanks tagged on to the end of all of the values of one of the columns I was joining. I knew right off how to take care of the problem (RTRIM), but I found myself wonder today why this practice exists. Google couldn't really answer my question so I turn to you guys.
What is the purpose or reason behind blank padding values in a DB?
My assumption of course is that the creator of the DB I'm working with actually did have a purpose, but I was informed by my coworker that they didn't deserve that level of credit. LOL. Still, if the feature or option exists there must be a reason.
Thanks for your help,
David

Can't imagine why they are right padded, though. Left
padded could be explained.My bad, for a moment I thougth CHARs got left padded, when they are in fact right padded.
create table t (c char(3));
insert into t values ('X');
commit;
select dump(c) from t;
DUMP(C)                                                                        
Typ=96 Len=3: 88,32,32                                                         
1 row selected.Regards
Peter, now answering himself

Similar Messages

  • When exporting to a DVD from Final Cut Pro X, what settings are there to make sure you making the highest quality DVD possible?

    When exporting to a DVD from Final Cut Pro X, what settings are there to make sure you making the highest quality DVD possible?

    There have been a lot of recent reports of difficulties sharing to DVD, but haven't been hearing about unreadable disks. Posibly there was an encoding error. Or it could have been bad media (blank disk).
    Does it play in your Mac?
    What brand of disks are you using?
    Russ

  • When I start firefox, the previous tabs are there but blank and say new tab, can I restore the tabs?

    When I start firefox, the previous tabs are there but blank and say new tab, can I restore the tabs?
    how can I do this?

    I'm not sure what causes this.
    As the first step, I recommend backing up your existing sessionstore files.
    Open your current Firefox settings (AKA Firefox profile) folder using
    Help > Troubleshooting Information > "Show Folder" button
    Scroll down to the files whose names start with sessionstore. You should find at least sessionstore.js and sessionstore.bak. If the .js extension does not appear on sessionstore, you should turn off the Windows feature that hides file extensions from you, so that you can work with file names as accurately as possible. This Microsoft support article has the steps: [http://support.microsoft.com/kb/865219].
    Make backup copies of all the sessionstore files to somewhere like your Documents folder for possible later restoration.
    Next, try one of the data mining techniques in these posts to rescue the URLs from the sessionstore.js or sessionstore.bak file:
    * Using Firefox's Browser Console (formerly known as Error Console): https://support.mozilla.org/questions/969046#answer-471950
    * Using Firefox developer tool "Scratchpad": http://forums.mozillazine.org/viewtopic.php?f=38&t=622036&start=60&p=12098147#p12098147
    * Using a third party website: https://firefox-session-restore.herokuapp.com/

  • HT201342 [WIFM ] What benefits are there to be had,my current E-mail address seems to meet my current needs

    [WIFM ] What benefits are there to be had,my current E-mail address seems to meet my current needs

    There is no advantage.
    Apple renamed their service from MobileMe to iCloud, so it is logical to change the email address to match.
    You can ignore the new address if it is not required, your previous @me email will continue to function.

  • What benefits are there to joining a Windows domain?

    My company has one mac user with a Macbook Air, we have a Windows 2008 r2 domain.
    I'm wondering if it is worth joining him to the domain, what benefits are there for a mac user?
    We use Exchange 2007 and change our passwords every 90 days.
    One concern is when the user is out of the office the cached password can become out of sync with the domain passowrd.
    This is an anoyance and can be confusing.
    Any advice would be much appriciated.
    Thanks.

    Greetings.
    I am a 1 of 2 Mac users in a company that otherwise is using Windoz. I do not join the domain though, because I really see no reason to. I can get to the printers, to the web, to the Exchange and to the SharePoint. Though mostly I need SVN and cloud services anyway.
    Thus no real reason. Unless there is some specific stuff that is setup on the network that is only available to windows machines authenticated with a certificate and joined to the windows domain, like for instance a split tunnel VPN or something along those lines, there is really no need to be "on the domain" connected to the LAN works just fine if not better.
    HOWEVER
    There is that annoying bit about the passwords.
    Some sysadmins like to setup password expiration, thus forcing us mortals to rotate three (almost identical) passwords every three months. In this case you just need to setup a reminder on your calendar that prompts you a week in advance to change your password.
    How to change your password? You have options:
    OPTION 1
    Now. If your Mac has OS pre Lion (no higher then 10.6) then you have old samba installed by default and that comes with "smbpasswd" command. To change the password just open the mighty mac terminal and type:
    smbpasswd -r YOUR_WINDOWS_DOMAIN_CONTROLLER_IP -U username
    Then the output will be something like this:
    Old SMB password: ********
    New SMB password: *********
    Retype new SMB password: *********
    Password changed for user username
    Of cause replace the YOUR_WINDOWS_DOMAIN_CONTROLLER_IP with the IP of your domain controller. Do not know your domain controller IP? run Google "net lookup master" command. I think older macs have it. (not sure)
    if you are running Lion, you do not have smbpasswd command. I think Apple either wrote their implimentation of samba or just use some stripped down wersion of it, not sure. It has to do with some dreary and borring licensing thing.
    You can either install samba yourself form sources... Thus if you are brave and adventurous here is a walk through http://forums.sonos.com/showthread.php?t=24022 or you can use optopn two:
    OPTION 2
    If your company has not gone to the cloud hosting and still use the old-school home grown Exchange hosted in the broom closet, you might have a web version of the M$ Exchange running. The URLs usually something like: https://owa.yourcompanyname.com. If you have that then the sysadmins may have the password change feature enabled there. Login to your web interface for Outlook (OWA), In the top right corner choose the "Change Password" feature and use it.
    If this is not an option because either your sysadmin is not running OWA or the password change feature is not enabled you have still have options.
    OPTION 3:
    If you are working for a company that loves Windows and their products you might have an M$ Office installed on your Mac. Thus you might have Remote Desktop Connection (RDC) utility. If not you can download it here: http://www.microsoft.com/mac/remote-desktop-client. Then remote desktop to a machine in your office and you will get to it's login screen where you can change the windows domain password. (This requires a machine to which you can remote desktop)
    OPTION 4:
    Walk up to any Windowz box that no one is using, CTRL + ALT + DEL one time and this will give you the login screen, you can change password form there.
    OPTION 5:
    Ask your sysadmin to setup your password to never expire, or add the policy for your user so that you can change it in OWA (see option 2)

  • Can I know what deffence are there in between "PowerPivot" and "Power Pivot" ?

    Can I know what deffence are there in between "PowerPivot" and "Power Pivot" ?
    I want to use collect one.
    I found both "PowerPivot" and "Power Pivot" in Microsoft Web Site.
    ex. http://office.microsoft.com/ja-jp/excel-help/HA102893837.aspx
    Regards,
    Yoshihiro Kawabata

    Thank you Darren.
    Yes, I think "Power Pivot" correct now.
    But I don't found any official annouce "PowerPivot" to "Power Pivot" in Microsoft.
    and There are "PowerPivot" in Microsoft Japan's documents.
    and My friends are using "PowerPivot" in their books that published at Apr/2014.
    I am looking forward official annouce.
    I want to use official word.
    Regards,
    Yoshihiro Kawabata

  • What solutions are there for Adobe Cloud subscribers/designers who are using/have been using Adobe s

    What solutions are there for Adobe Cloud subscribers/designers who are using/have been using Adobe software but have run into system requirement inadequacies etc. . . Basically, I have a new mac and CS6 runs fine. But my old macbook can only run CS5.5. Because I'm a subscriber my Adobe CS5.5  updated automatically. What happens when one day a year or two from now (or sooner) my MAC won't support the latest version of my CS subscription? Is there a way for cloud subscribers to subscribe to a legacy or an older version of CS?

    Hi Wildeboer420,
    Its my understanding that previous versions will still be acessible for users going forward, I copied the following from the FAQ
    I am a Creative Cloud member using the CS6 applications included in my membership. Will I lose access to CS6 when CS7 becomes available in Creative Cloud?
    No, if you have downloaded and installed the CS6 versions of the applications, you will continue to have access to them without interruption as long as your membership remains active. When the CS7 versions become available, you will have up to a year to download and install them and they will run on your machine along with CS6 versions.
    Hope that helps,
    -Dave

  • What workarounds are there for OS X 10.3.9 users on websites with flash?..

    What workarounds, kludges are there for users of OS X 10.3.9 encountering websites with the new version of flash?... what alternate ways are there to get the content?

    What version of Flash do you have installed? The last version for 10.3 was version 9. If you don't have it, download from http://www.versiontracker.com/dyn/moreinfo/macosx/10752710
    The only other option is to upgrade to Tiger 10.4 and use version 10.
     Cheers, Tom

  • What issues are there in upgrading from LabVIEW 4.0 up to LabVIEW 6.1?

    I am "inheriting" a LabVIEW 4.0 application that is running on an old (133MHz) Pentium PC with the Windows95 OS. I would like to upgrade the PC to a more recent CPU running Windows2000. I also want to upgrade LabVIEW to version 6.1. Are there any issues in performing the LabVIEW upgrade? Will I need to rework most of the application or is the transition from LabVIEW 4.0 to 6.1 fairly painless and transparent?
    Any help is appreciated. I've never been through a LabVIEW upgrade before and am treading in uncharted water.
    Thanks.

    Boy, it seems I can't stick my head above water without this topic coming up. I've had thr exact same upgrade question come up on two different contracts--in the past week!
    In any case, the code itself should come across without major problems, unless you are using CINs. The only real trouble I'v had are with things like serial I/O as the drivers have changed dramatically over the years.
    Now the code that you translate will be (by comparison) very inefficient thanks to the makor enhancements that have taken place over the last two major revisions.
    For the most part, I would have to vote for "fairly painless".
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • What restrictions are there when downloading Premiere Pro CS7

    I would like to know if there are any restrictions to the trial software such as missing codecs when exporting or the inability to dynamic link to After Effects for example. Are there any others? It would be nice to be able to assess the software thoroughly before buying.

    They appear to be. My After Effects is installed through the CC and is working fine. So too is Premiere Pro. They both work independently of each other but one of the big reasons for me switching to Adobe PP is the fact that I'm supposed to be able to easily, and without losing data, switch between AE and PP and back again and it'd be nice to see how it works in practice.

  • What Strategies are there for updating a table when you're using a multi-table view to display it.

    I'm using a view and am able to create a grid that allows editing of one of the columns. Let's call the table where the column is updated "DepartmentFeeDetail." The view has several joins but up till now the column was editable.
    Today I needed to join DepartmentFeeDetail with itself to pick up the debit side of a debit/credit pair. I want to show the gl account number for both
    the debit and credit on the same row. I also need to update the value for both debit and credit.
    I can no longer edit the column to no surprise. When updating using MSSQLMS I get the following error:
    View or function 'MyTestView' is not updatable because the modification affects multiple base tables.
    What should my strategy be in lightswitch? The grid is populated by a query that includes my lynq expressions in DepartmentFeeRateQuery_PreprocessQuery. The query may return 1000+ rows. I need to allow the accountant to edit either a single row's column
    or enter a value in a field outside the grid and click a button "Apply fee rate to entire page."
    All this was working fine until the requirement to show the debit side gl account number and to change the debit side value somehow.
    I've tried adding a property to DepartmentFeeDetail but the "Is Computed" property wouldn't allow me to uncheck it. Is there a way to add an editable property for each grid row and initialize it to the
    current value of the column returned by the view? I could then update a collection when one of the fields changes. If they change the global value and press "Apply fee rate to entire page"
    I can update the collection as well.
    Scott Mitchell

    What I do is instead of using a View I use a updatable
    WCF RIA Service.
    This is an example of an updateable method:
    public void UpdateQuestionDetailForUser(QuestionDetailForUser objQuestionDetailForUser)
    // Get the current user
    string strCurrentUserName = System.Web.HttpContext.Current.User.Identity.Name;
    // We are under Forms Authentication so if user is blank then we
    // are debugging and we are TestUser
    if (strCurrentUserName == "")
    strCurrentUserName = "TestUser";
    // Check for an existing Answer for this Question for this User
    var objSurveyAnswer = (from SurveyAnswers in this.Context.SurveyAnswers
    where SurveyAnswers.SurveyQuestion.Id == objQuestionDetailForUser.QuestionId
    where SurveyAnswers.UserName == strCurrentUserName
    select SurveyAnswers).FirstOrDefault();
    if (objSurveyAnswer != null)
    try // This is an update ****
    // Set values
    objSurveyAnswer.Choice = Convert.ToInt32(objQuestionDetailForUser.SelectedChoice);
    objSurveyAnswer.Comment = objQuestionDetailForUser.Comments;
    // Update LightSwitch Database
    this.Context.SaveChanges(
    System.Data.Objects.SaveOptions.DetectChangesBeforeSave);
    catch (Exception ex)
    throw new Exception("Error inserting QuestionId " + objQuestionDetailForUser.QuestionId, ex);
    else // This is an Insert ****
    // Query the GetAllQuestionsForUser method because it calculates if a Question
    // is Active or not for the QuestionId being inserted
    // If it is not in the collection, do not allow the insert
    var objUserQuestion = (from QuestionForUser in this.GetAllQuestionsForUser()
    where QuestionForUser.UserName == strCurrentUserName
    where QuestionForUser.QuestionId == objQuestionDetailForUser.QuestionId
    select QuestionForUser).FirstOrDefault();
    if (objUserQuestion != null)
    try
    // Get the Survey Question
    var objSurveyQuestion = (from SurveyQuestions in this.Context.SurveyQuestions
    where SurveyQuestions.Id == objQuestionDetailForUser.QuestionId
    select SurveyQuestions).FirstOrDefault();
    // Create a SurveyAnswer object
    SurveyAnswer objNewSurveyAnswer = this.Context.CreateObject<SurveyAnswer>();
    // Set values
    objNewSurveyAnswer.UserName = strCurrentUserName;
    objNewSurveyAnswer.Choice = Convert.ToInt32(objQuestionDetailForUser.SelectedChoice);
    objNewSurveyAnswer.Comment = objQuestionDetailForUser.Comments;
    objNewSurveyAnswer.SurveyQuestion = objSurveyQuestion;
    // Update LightSwitch Database
    this.Context.SurveyAnswers.AddObject(objNewSurveyAnswer);
    this.Context.SaveChanges(
    System.Data.Objects.SaveOptions.DetectChangesBeforeSave);
    catch (Exception ex)
    throw new Exception("Error inserting QuestionId " + objQuestionDetailForUser.QuestionId, ex);
    else
    throw new Exception("Error inserting Answer. Answer is not marked Active.");
    Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
    http://LightSwitchHelpWebsite.com

  • When I start firefox, the previous tabs are there but blank and say new tab, how do I retrieve these tabs?

    Firefox recently did an automatic update for firefox to version 29 upon restart and all the tabs I had before won't load as before. It appears that the number of tabs open up saying "new tab" on each one but they won't load once I click on them as before the update. I'm trying to find a way for those links to show again. I used herokuapp.com as mentioned in another article but all the blank tabs are shown as about:blank.

    Sorry to hear about that. Can you check your profile folder for a special .bak file created during the upgrade? Here's what I mean:
    Open your current Firefox settings (AKA Firefox profile) folder using either
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * Help menu > Troubleshooting Information
    In the first table on the page, click the "Show Folder" button
    This should display your profile folder. Scroll down and look for a file with a name similar to the following (the date part will be different):
    sessionstore.bak-20140506152807
    Make a copy of that file to a more convenient location, such as documents, and try to use one of the file recovery methods to find your missing URLs in there. You might need to change the file ending to .bak or .js if it's hard to load with the date included.
    For data mining the URLs, I think you already know the options, but for anyone else reading, see: [https://support.mozilla.org/questions/998414#answer-567734].

  • Newbie: Drums. What options are there for drums?

    Hi there,
    I'm having fun with Logic Express. I can play most instruments I need, but not drums. I've never played drums.
    I don't have much money to spend of it.
    Searching through previous threads, I found references to the following drum loop companies:
    Drums on Demand:
    http://www.drumsondemand.com/
    BetaMonkey:
    http://www.betamonkeymusic.com/
    Drums from H*ll (Hehee, the forum edited that word!):
    http://www.drumsfromhell.com/homeofdrumloops.html
    I already purchased Apple's Jam Pack Rhythm Section. I was a somewhat disappointed in it, because it contains a little bit for everyone, and one or two loops for every style in the world, but not much of what I want.
    I guess I want more slow-tempo rock. But not necessarily "soft rock". I like things to rise and fall in volume in a dramatic way, but not stay soft like a ballad, nor head-banging fast.
    I haven't listened to Drums On Demand, but I'm a bit afraid their "soft" disk might be full of soft dreary ballads, and their "heavy" disk might be full of really fast head-banging stuff.
    Maybe I'll still go with something like Drums On Demand. But the problem with loop disks seems to be that you will buy many loops that you will never use. And maybe, hopefully, find a few that are good. Pity they're not previewable online, and downloadable online.
    What about MIDI loops? Is it possible to purchase MIDI loops and then just apply them to a standard drum kit in Logic Express?
    I figured a MIDI file would be more editable. I could use an existing beat, and then add some extra drum or cymbal smashes to make it fit my music better.
    Or should I just learn to make my own MIDI loops? I have a good sense of rhythm for other instruments. Would it be possible to apply this to drums easily, and play them on a keyboard? Having not played real drums, I am afraid I would not know how to get the feel of a real kit.
    Thanks for your info.
    G5 2x2GHz Mac OS X (10.4.8)
    G5 2x2GHz Mac OS X (10.4.8)
    G5 2x2GHz   Mac OS X (10.4.8)  

    Tofu Mouse, if you ever do consider the more expensive options, take a good and hard and long look at EZdrummer. My band is using it to avoid having to pay for studio time every time we want to record drum tracks (we record the rest of our instruments + my vocals in our own studio, with very good results, but we don't have the equipment to record our own drums), and even without our drummer present, we are able to lay down our drum parts quickly.
    I should mention that the drum arrangements our drummer composes and plays are extremely advanced (he is a schooled jazz, rock and metal drummer, so he is both very technical and very varied in his playing), but thanks to EZdrummer and Logic's brilliant hyper editor, we can usually replicate him even if he isn't present just by listening to low quality live recordings of him playing the actual songs. So far, the only people who have been able to hear that our drums are digital, are the ones who know that our own drumset could never yield so good sound quality as the EZdrummer samples do (The "Human Playing" button in EZdrummer is everyone's friend, ensuring that the drum beats never sound to artificial or perfect)
    And this is probably one of the most advanced ways to use of EZdrummer. If all you want to do is lay down drum parts for home-written material, the included drum loops and the hyper editor will make that extremely easy for you.
    Good luck, whatever peculiar drum tool you end up with

  • What problems are there when upgrading from Snow Leopard to Snow Lion?

    I am thinking of getting a new printer, one which uses Apple's air print.  I am using Snow Leopard now.  What problems will I see when I upgrade to Snow Lion? I also use Parallels, v. 6.  Is it worth the hassle to uopgrade just to use air print?

    No, not really. But there isn't that big a hassle.
    Upgrade Paths to Lion and/or Mountain Lion
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion - System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer)
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
             3. MacBook Pro (Mid/Late 2007 or newer)
             4. MacBook Air (Late 2008 or newer)
             5. Mac mini (Early 2009 or newer)
             6. Mac Pro (Early 2008 or newer)
             7. Xserve (Early 2009)
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.
         Am I eligible for the free upgrade?
             See Apple - Free OS X Mountain Lion upgrade Program.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • What benefits are there to iOS 6 update on a "wifi only" iPad 3?

    I am so glad I did a little research first before following through with an the iOS 6 update on my 5 day old 64 GB iPad 3 +wifi. So far, I don't have any confidence there is any improvement on a "wifi only unit", even Siri falls short of expectations in comparison to the basic dictation software already included in iOS 5.1.1- and I am afraid to loose the excellent dictation software. Additionally, it appears the iOS6 update could cause my wifi to become inoperable. Not a risk I am willing to take after dishing out 850.00 of hard earned money to have my iPad deemed useless and becoming frustrated.
    Until, there is an actual benefit or improvement to the current iOS for a "wifi only" unit I see no reason to change to iOS 6, unless of course there are some improvements in updating on a wifi only unit that I am not aware of? I really wanted to update but too worried after reading the trouble people are having. Can someone advise what benefits there are in updating to iOS 6 on a "wifi only" new ipad3? I am not sold on Maps (turn by turn doesn't work for wifi), or on Siri to make the change.
    Can someone tell me what benefits there are to updating the new iPad3 which is wifi only?

    Nobody here will convince since you have already made up your own mind. That's fine. It's your choice. If you aren't comfortable updating the iOS - don't do it.
    I have a WiFi only new iPad and I have never had any issues at all - with anything concerning WiFi connections or networks - as long as the network was dependable. I am using my personal MIFI hotspot right now and it works great, here are the features that iOS will provide for you If you decide to make the update.
    iOS 6 features and capabilities vary between devices, with some features available only with certain devices and models.
    iPhone
    iPad
    iPod touch
    iOS 6 feature
    3GS
    4
    4S
    5
    2nd
    generation
    3rd
    generation
    4th
    generation
    Maps: Flyover




    Maps: Turn-by-turn1


    ✓4
    ✓4
    Siri2



    Facebook integration







    Shared Photo Streams







    Passbook





    Camera: Panorama


    Camera: Snap stills while recording

    FaceTime over cellular3



    Phone: Reply/Remind




    Do Not Disturb







    Mail VIPs







    Safari: Full screen view





    Safari: Offline reading list





    Guided Access







    Made for iPhone hearing aids

Maybe you are looking for

  • Connect by prior return unnecessary rows

    Hello, I am using oracle 9.2 my query looks like this: SELECT * FROM book_items t where cust_id = 2305240 and sort_key is not null CONNECT BY PRIOR item_id = parent_id START WITH t.item_id = 193 ORDER SIBLINGS BY sort_key the problem is, when I have

  • CUCM 7.X NTP sync to Windows DC

    How do I sync up CUCM 7.x ntp to a windows server? Thx

  • Dose K8N master2-FAR support a opteron 275?

    i have two 246s. but i need more computing power. Can i use 275s with K8N master2-FAR M/B? my system info: M/B : K8N master2-FAR MEM : Samsung ECC 512X2X2 HDD : Raptor 74d x2 R0 - OS OS : win2k sp4 PSU : Enermax EG851AS-VH (660W)  

  • Bbm pin number

    hi all i have recently purchased a blackberry curve from a friend and have a bbm pin number which i have sent to a few friends and when they try to add me it says to them invalid pin does anyone no how i can change the pin or rectifiy the problem ple

  • How to stop email from hitting gwia?

    Hi all, We have email (from many different sources) hitting the gwia for a former employee. It may not be doing damage (i dont know) but it keeps the gwia busy and its annoying. How do I stop it. Thanks