How to create certain number of spaces at the end of all records

Hello

I'm queue the select query, where each column value must take a position.

I need to also have a certain number of spaces at the end of each record.

How to make spaces at the end of the recording.

Is anything order them to be included in the select query to get spaces at the end of the recording.

details of the file is like this:-

NAME OF FIELD FIELD DECRIPTION POSITIONS SIZE FORMAT
RECORD TYPE 1 1 'R' ALPHA
EMP N ° 2-4 5 DIGITAL EMP_NO
SPACES of 6-11 6 SPACES-> HOW to GET THE NUMBER SPACES ESPECIALLY... HOW TO WRITE THE SELECT QUERY TO GET THESE IN THE HOLD FILE.

THANKS in advance...

Maybe just do a simple function that returns a string of spaces given the desired number of places?

Published by: TimS on August 6, 2009 16:06

Tags: Database

Similar Questions

  • How to create a table with spaces between the lines...

    Hello

    I use jdev 11.1.1.6 and I need to insert spaces between the lines. How this can be done?

    Thank you and best regards,
    Tarun Agrawal

    Hello

    I'm sorry to forget on the spacer. You must use css like mentioned AP.

    Arun-

  • How to make a signature or message to stay at the end of all my emails?

    Original title: how to get a message to stay at the end of all my emails or signature?  Had it for years, but it has now disappeared for some reason any

    I want to have the same signature and message at the end of every email that I send

    Hi Babycat,

    What mail client do you use?

    If you are facing the issue with Windows Live mail, you can post the question in the Windows Live forum for assistance:

    Windows Live Support

  • How to create a toolbar of shortcuts on the desktop

    Hello...
    How to create a toolbar of shortcuts on the desktop

    Unfortunately, this feature is no longer available with Windows 7. I was surprised myself so since Vista was fine with it, but in Windows 7, we all need to just get used to using the feature of the taskbar QuickLaunch. You can pin any icon you want in the taskbar and use it to your quick launch of this program.

  • How to create a file name variable with the County and the date?

    Objective: Create a file name variable with the County and the date

    Error: get a lot of error. Do you know how to change my code?

    Question: how to create a file name variable with the County and the date?

    Mini code:

    std::string * rawfilepath;
    std::string * rawfilename;

    rawfilepath = "./shared/documents/";
    RawFileName = rawfilepath + 'rawlog -' + 0 + '-.txt ';
    QFile file (rawfilename);
    If (file.exists ()) {}
    rawfilenamecount ++;
    RawFileName = "./shared/documents/rawlog-" + rawfilenamecount + "-.txt ';
    }

    Thank you for your attention,

    Thank tzander reminding me the idea. Method of cascades is not good for me because all of the kernel code is written by Native. If I change the channel to QString, I need to change a lot of codes.

    Solution is below.

    While (access (rawfilename, F_OK)! = - 1) {}
    rawfilenamecount ++;
    sprintf (format, RawFileName, rawfilenamecount);
    fprintf (stderr, "file exists");
    }

    Rawlog = fopen (rawfilename, "w"); Save the file in a specific path.
    fprintf (rawlog, "System Time (ms)" "");

  • How to create a VPN file .pcf for the CISCO VPN CLIENT software profile

    Dear all

    How to create a VPN file .pcf for the CISCO VPN CLIENT software profile

    Concerning

    Hi Imran,

    Can't do much about that because it depends on what authenticate you the VPN server and how the settings. But let me introduce you to the memory layout. Once you install and open a VPN client. Press it again and it opens up a new page for the VPN config.

    Example of configuration as it is attached. But it differs depending on the configuration of your vpn server.

    Once you create and save this profile. Your FCP file is stored.

    Please assess whether the information provided is useful.

    By

    Knockaert

  • How to create a user local administrator with the user root on the CV

    As says the tile, how to create a user local administrator with the user root on VCS-Express. I lost the password and cannot log in as an admin user, but I can't seem to log as long as user root.

    Once connect you with the root account, type in "tsh", from there, you can create the accounts of local administrators with 'xCommand AdminAccountAdd.  See the reference section of command of the VCS Administrator's Guide, starting on pg 517.

    If your VCS is a virtual machine, you can change the password of admin with vSphere, or if it is a hardware appliance, you can use the serial port, see pg 312 of the Administrator's guide.

  • How to create a my Signature (signature with the tablet of manufacturing) Action?

    How to create a my Signature (signature with the tablet of manufacturing) Action?

    I use PSCS6?

    I have no problem making an action of signature if I pick a font and then type in my name,

    but to make a real action of my signature seems impossible.

    Hello

    There is a very cool technique to do by your signature in a Photoshop brush.  Once this is a brush, you can change the size and place the signature everywhere where you want.

    Google "Photoshop brush signature" or something similar and you will see a lot of tutorials.  Try this one:

    Photoshop reference guide | Creating a custom brush Signature | Peachpit

    Basically, you sign your signature on a blank piece of paper, then you scan in a JPG or TIFF file, then you open that file in PS to create a brush.

    I hope this helps.

    John

  • How to create grainy texturing and faces in the movie posters

    I love watching the lighting and contrast in the movie posters,

    I would like to know how to create textures and texture effects I see often on movie posters, which seem more hyper made realistic than nature, still convey the character very well skin, I have also attached a cover of wii games to show the hand texturing,

    My guess is that it's done with the right give modes and texture brushes, do not know how to create this subtle grainsand looking into the skin, or what is a very good camera that captures the skin in detail then applied to the skin texture, contrast? benjamin button seems to have a grain for its halftone,

    benjamin and prince of Persia poster button seem to capture better what I mean, hand on the cover of NFL wii game is also interesting.

    a few examples below,

    benjamin button.jpg

    inception_leonardo_dicaprio.jpg

    prince of persia.jpg

    skin textures.jpg

    Make a new layer filled with 50% gray, use the filter-> noise-> add noise or other texturing method you prefer and then change the blending mode of this layer to overlay or soft light.

  • How to create users that can connect to the application?

    Hello


    As an example of Application provided by APEX, in this application, the administrator can create users and reset passwords, and the user can connect to this application. How is this happening?

    Now I know how to create users and reset passwords through the corresponding working table.

    But I don't know how to use the user to to connect to the application? I tried several times to use the user create by ADMIN to connect to the application, but I failed.

    I can't find any setting in the sample Application, but it do.

    If any good plans?

    I thank in advance.

    There are two ways you can handle this... Build users of the APEX and continued them through the api of the APEX (not recommended by what I saw several comments here, outside the development environment) OR in your application, you could build a custom authentication system...

    Here is a link to explain how make one:
    http://djmein.blogspot.com/2007/07/custom-authentication-authorisation.html

    Thank you

    Tony Miller
    Webster, TX

  • How to get rid of the unwanted space at the end of a sentence?

    This problem has been driving me crazy for days. I use CS6 and cannot just get rid of that space at the end of the first sentence of a paragraph right justified. As you can see in the picture, after the word 'on '.

    I used "Show hidden characters", but nothing comes. I tried to edit in story Mode. Still nothing. I can't find any other reference to something like this on the web (maybe I use the wrong keywords?)

    If anyone has any ideas on what could be the problem, I would appreciate it!

    Unwanted space.JPG

    It seems that your text frame has rounded corners.
    The text attempts to honor it.

    Uwe

  • adjust the white space at the end of field

    Have a field called title. One program allows the user to update the title and left undetermined amount of space at the end of the string.

    example of title

    ↑ refers to white space

    "FF 12 a ^'."
    ' FF 13 a '. '
    "FF 15 has a ^ ^'.


    Question 1.


    Y at - it a select statement or how I can list the number of records have white space at the end of the string?



    Question 2.

    Can I update the table and use the TRIM function to truncate the white spacess on the end only?

    using something like this:


    FOR TABLE_REC IN TABLE_cur
    LOOP

    UPDATE TABLE
    SET TABLE.title = TRIM (TABLE_REC.title)
    WHERE THE TABLE. ACCOUNT_NBR = TABLE_REC. ACCOUNT_NBR;
    END LOOP;

    QUESTION 3.

    Is there a table alter congratulate that may prevent or use the TRIM function to prevent trialing whitespace to be updated or inserted.

    Thank you very much!!!

    (1) select count (*) in the table where the field is not null and the field! = rtrim (field)

    (2) RTRIM, TRIM no

    (3) add a check on the "field = rtrim (field)" column constraint enforcement

  • Installer of Lexmark printer drivers saved in a folder "c:\Program Files \" (with a space at the end of this one!)

    I have a real problem.

    On my Windows 7 Professional machine somehow is an automatic update of installed Lexmark printer drivers and the installation program saved files
    in a folder names "c:\Program Files \" (with a space at the end of this one!)

    This all happened the day after without seeing me what was going on.

    It seems that the Windows 7 system does not like the folder or file names ending in a 'space' or a 'period' and it will not work with it.

    The side effect is that in some sort the system has copied EACH name on this new folder called sub0folder "C:\Program Files-" and I ended up with TWO files that have the air of the same name (even if we have a space at the edn of it ".

    It isn't really a problem in what I could simply ignore it (the other folder names corrrectly operates always OK). The only problem is that changes to 'Security' affect the TWO files because Windows 7 sees the two folder as the 'same' names when setting security.

    That's why, when I tried to mark the 'bogus' as 'not available' folder to everyone (including the system) it is the same for 'Program Files' (the real one) with disastrous consequences. I had the chance to get out and restore some semb; launched sound mind to my machine.

    But I'm stuck now with this annoying issue with many sub-fdolers (which are all unaccessable because the system cannot locate).

    My question is, how to remove a file that has a 'space' as the last part of his name when Windows Explorer cannot work with it?

    Thanks a lot with no matter what helpf with this very unusual problem.

    If you have the opportunity to make a complete picture of the system of the disc, I would before you try the following... just in case remove the "bad" folder ends up deleting all good also.  Alternatively, rather than remove the directory in the last step below, rename it using a command like

    ren c:\PROGRA~3 c:\badprogs {press Enter}

    If program of the 'real' the files and other directories survive unscathed, and then delete the C:\badprogs in the usual way.

    ******************************************

    In the search box, type cmd, then right click on cmd.exe and select "Run as Administrator".  Give the password when you are prompted.

    Type

    CD c:\  {Press Enter}

    to switch to the root

    Now type

    dir /x {press Enter}

    This will show you a list of directories of names "short form".  You will probably see something like this (from a x 64 Win 7 installation, is why there "Progra ~ 1" and "Progra ~ 2" directories ")

    Directory of c:\

    01/08/2012 13:19

    PROGRA ~ 1 Program Files
    30/07/2012 13:03 PROGRA ~ 2 Program Files (x 86)
    03/07/2012 10:46 users
    30/07/2012 20:16 Windows

    In your case, your directory parasite called or PROGRA ~ 3 (if you have x 64) or PROGRA ~ 2 (if you have Windows 7 32 bit).

    Now that you know the name short, which allows to delete:

    del C:\progra~3 {press Enter}

  • How can I keep a visible image at the end of the EP 13?

    When my videos ends EP 13, it becomes black. How can I keep a visible image at the end?

    crimpers

    So far my YouTube video playback are all ending with the game again screen with a bunch of photos to the videos that are not mine.

    I explore the concept of thumbnails of video in YouTube.

    Video thumbnails - YouTube help

    Which seems to imply that what you see before the play button is hit.

    I found the following

    How to pause youtube video embedded on the last picture? -Stack overflow

    But, still trying to understand how they actually follow through on the details of the discussion.

    RTA

  • How to create an app with space name?

    Hi all

    How to create an application with the space, for example "Hello Word" name When I run my Simulator, I got ' Hello$ 20World "instead. I use the plugin for eclipse for development. I can see the Application descriptor for my application, and it shows the thin space. I tried to change the Blackberry project properties tab generate file output name, but it doesn't help in any way. Please advise...

    Goto Blackberry project properties

    Click the general tab

    Write in title = "Hello World".

    and you can see your title of the modified project

    I hope that you ask for it only!

Maybe you are looking for

  • Satellite A100 - 233 PSAA8E - need controller driver Ethernet & network

    Hello!I have a Toshiba Satellite A100-233 model No. PSAA8E-061022AR.I looked on http://gulf.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp?LNG=13&service=AE&mode=a llMachines & action = search & teddProduct = 653 & selShortM od = 4

  • by the way of multiple charts for sub vi

    Hello I'm rather new to labview and could use some advice.  My current project is using a loop for to create a chart for measurements of I to V of each sample of solar cells (each parcel is on a separate chart).  Multiplexing is externally via labvie

  • HP Photosmart Premium 310 has: alignment failed

    Printer already works very well.  Not used for about 2 weeks. Now will not print in black.  All that needs to be black printing pale cyan or not at all.  Ink cartridges are OK. Perform all of the troubleshooting instructions. When you run the tool al

  • How can I change the question required in L1 Feedback?

    The Admin settings - feedback page allows me to edit all questions except the required questions. How can I do?Also, is there a global turn to ask your feedback? I took a class and never received a request for feedback. The reminder is set on course

  • Set preferences for Unity (Javascript)

    I can't find a way to set the unit for Illustrator CS6/CC using JavaScript preferences.I found that it works (setting for stroke units):var units = 2; 0-inch, 1-milllimeters, 2-pointsapp.preferences.setIntegerPreference ("strokeUnits", units)But I wa