How can I ignore the differences between databases when reading data from a database?

My boss wants me to create a text parser that analyzes the sentence below and executes a SQL query.

"' get the table field1, field2, field3,..., Manyfield [where to SQL conditional statements].

This corresponds to "select Field1, Field2, field3,..., table Manyfield where blahblah".

Since different DBMS have different timestamp formats, this sentence should be changed for each DBMS.

Ignore the differences is to do anlayzer that converts a certain type of timestamp string to one that adapts to each DBMS complex a text.

But it seems ridiculous to adopt this solution when there might be an elegant solution.

LabVIEW Toolkit of DB is not able to hide the differences.

Does anyone have a better idea that I do?

I remember having a problem like this when you are working with an older version of an Oracle server. I was able to change the session by setting the 'NLS_TIMESTAMP_FORMAT '.

This page might be of interest; I found this, when searching for "NLS_TIMESTAMP_FORMAT".

Database portability: Date and Timestamp columns

(PS String Format and channel Scan functions work well with the correct date format specifiers. See the link below in my signature for the ISO 8601 timestamp/string conversions)

Tags: NI Software

Similar Questions

  • How can I justify the difference between varchar and varchar2 data type

    Hi all

    How can I justify the difference between the data type varchar and varchar2 on any table for space management.
    Is there any query to justify this.


    Concerning
    Girish

    Published by: boujemaa on February 2, 2011 21:23

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14220/datatype.htm#sthref3780


    The VARCHAR data type

    The VARCHAR data type is synonymous with the VARCHAR2 data type. To avoid any changes in behavior, always use the VARCHAR2 data type to store strings of variable length.

  • How can I compare the differences between two files After Effects?

    I have a major problem.  I was working on special effects for a film.  In After Effects, when I change siggificant, I often have to register under and create a new name so I can go back to the old work if necessary.  It comes in a case, I have come back from earlier works.  If I use these two files After Effects allows you to create multiple clips of effects.  And I do not remember just where you look at it, it is better.  Does anyone know a good way to compare the differences between the files?

    One thing to keep this conversation on the right way: I know that I did a stupid thing.  I've never done this before so can we please not spend a lot of time on how to avoid this problem and stick to how we solve this problem?

    If you encounter difficulties to identify differences in the old and new versions, you can use this procedure:

    To avoid confusion, I'll call your former company and your most recent compositions CompB comps.

    CompA drag "New Comp" icon in the project window.  This will create a new temporary layout that contains the nested CompA.

    Drag in your new COMP CompB temporary ensure it aligns image for image with CompA.

    Place the top layer (CompB) difference.

    Now, when you play through the comp, you'll see differences in color at a time where the comparison and CompB are not identical.

  • How to ignore the details of footer when loading data from a .txt file

    Hello experts,

    I import data from a txt file in my database. I jumped my header using SKIP information, but how can I ignore my footer details.
    Thank you

    Answer on your other thread:

    Txt for a required format file processing

  • How can you tell the difference between Microsoft Windows 8 Pro Full version and upgrade?

    For previous versions of Windows, for example, Windows 7, it was very easy.  Windows 7 Ultimate Upgrade has 'Upgrade' printed on the outside the box in the upper right, as well as on the discs themselves, while the full version does not work.

    See here for example of the box: http://fc03.deviantart.net/fs71/i/2010/193/e/0/Windows_7_Ultimate_upgrade_by_LucasVN.jpg

    For examples of records, see here: http://headsetchatter.com/blog/wp-content/uploads/2010/09/snapshot-1283367118.977272.jpg, - http://www.microsoftcheapsoftware.com/ekmps/shops/samehxm/images/microsoft-windows-7-ultimate-sp1-upgrade-[3] 148 - p.jpg

    With Windows 8 Pro, I can't find any distinctive feature.  I bought the full version and upgrade of Windows 8 Pro, but after their installation on several dozen calculates, I lost track of which boxes and discs are which.  And there seems to be no way to understand who is who...

    There is never any full retail versions of Windows 8, Windows 8 Pro box. Only Windows 8 and Windows 8 Pro OEM System Builder licenses were full versions. It's the best way to confirm.

    Since the release of Windows 8.1, in retail box copies are full versions.

  • How can I ignore the networks

    I still see a lot of WLANs one my mac searches for a long time until it detects my network. How can I ignore the other visible networks?

    Where do you see them? When you click the icon on the taskbar menus or in Network preferences? If the first, they are simply being picked up by your choose wireless networks. They disappear once you have chosen your network. If the latter then open network preferences and click on the Advanced button. You should see all these networks in the list box. Select the ones you don't want and click on the delete button [---] to delete. This should prevent the computer tries to select one network other than your own. Click on the OK button, and then click the apply button.

  • How can I fix the link between adobe and windows if I see .pdf not win32 application

    How can I fix the link between adobe and windows if I see .pdf not win32 application, without the disc?

    "Adobe" is the name of the company that provides a great many different applications.

    Adobe Reader is free and allows you to view pdf files.

    Adobe Acrobat is expensive and allows you to create, edit and view pdf files.

    Assuming that you are referring to the reader, uninstall all the versions of it using the control panel > add or remove programs.  Then either

    1. go to http://get.adobe.com/reader/?promoid=BUIGO and download the current version (remember to uncheck the box to install McAfee Security Scan Plus.

    or

    2. go to http://www.foxitsoftware.com/Secure_PDF_Reader/ and download Foxit Reader, a small pdf reader and many more.

    Then, install the reader that you have downloaded.

  • How can I check the version of database?

    How can I check the version of database if it uses inside my PL/SQL block?

    Use sql in your pl/sql block.

    Select * from version £ v

  • How can we ignore the validation of project-level scheme in BPEL

    How can we ignore the validation of project-level scheme in BPEL... Because I have a requirement to send e-mail with an attachment. to send an attachment, I have to skip the validation of the schema of the EM console. so he will make the validation schema for all deployed application.it problem for another project so I want to do this thing at the level of the project...

    Hello

    It can be done by going to open the composite.xml in jdeveloper and open the properties of the composite window. You will see a property Validate schema. Set or not to replace the property defined at the server level.

    The following property is added to the composite.xml
    fake
    Redeploy the composite and check.

    Hope this helps!

  • How can I see the full target URL when I hover over a link? Not a short URL.

    How can I see the full target URL when I hover over a link? I don't want to see short URL. Is there a way to customize this?

    Full target URL allowing me to easily see how visitors reached my site via Google, Bing, Yahoo Research, etc. With the short URL I don't see what they entered into the search field.

    You can use this extension to restore the characteristics of loss of status bar and customize settings such as displaying the URL of a link to the overview.

  • How can I prevent the Satellite to sleep when the lid is closed?

    Hello

    I connected my Toshiba with an external HDMI monitor.
    The problem is that when I close the lid (I chose the monitors in dual options) instead of sending output to the screen external, portable sleeps.

    How can I stop the laptop to sleep when the lid is closed?

    Thank you for your time.

    Hello

    Go to control panel-> power options control
    Now on the left you will see the option called choose the closing cover

    Here you choose do nothing

    Concerning

  • How can I stop the last post showing when I want to send this person a new Imessage.  I have an Iphone 5s

    How can I stop the last post showing when I want to send this person a new Imessage.  I don't want an old conversation appears constantly when I am a Messenger contact.  I have an Iphone 5s

    I don't know, but let me see if I understand what you're asking. You do not want to see the thread you have with a particular contact when you go to send them another message? The only way to do this is to remove the previous message thread. If you send a message to someone that you already have a thread of conversation with, it will continue to post in this thread. There is no such thing as having multiple threads with the same person. All conversations with the same person would remain in the same thread, unless you remove the previous discussions. If you delete your previous conversation, when you go to start a new conversation, he won't have any of the other answers.

  • How can I get the taskbar to show when I want to use?

    In many programs, the taskbar disappears from the bottom of the screen.  Sometimes I need to use an icon that sits on the bar spots.  How can I get the taskbar to show when I want to use an icon on this subject?

    What are 'many programs' to make it happen?  If you are using "full screen", you must leave this mode, usually by pressing F11 or ESC key.

    Unless you are referring to a mode "full screen" programs...

    • The taskbar should appear if you move the mouse to the bottom of the screen.

    OR

    • Right-click on an empty part of the taskbar, and then select Properties
      Uncheck the box "auto-hide the taskbar."
      Click OK
  • My user folder displays the data of 30 GB. Actual data are only 2 GB. I want to wipe my drive C of hidden data. How can I get the details of 30 GB of data shown in the properties of the folder

    My user folder displays the data of 30 GB. Actual data are only 2 GB. I want to wipe my drive C of hidden data. How can I get the details of 30 GB of data shown in the properties of the folder.

    Hello

    This free program allows you to see what is taking place.

    http://www.Jam-software.com/treesize_free/

    Here's how to understand Treesize Screenshots:

    http://www.Jam-software.com/treesize_free/screenshots.shtml

    ____________________________________

    Also check how much space system restore uses:

    http://Windows.Microsoft.com/en-us/Windows7/how-much-disk-space-does-System-Restore-require

    _____________________________________

    You can clean your hard drive using these two methods.

    "Delete files using Disk Cleanup"

    http://Windows.Microsoft.com/en-us/Windows/delete-files-using-disk-cleanup#delete-files-using-disk-cleanup=Windows-7

    Using the free CCleaner program:

    http://www.Piriform.com/CCleaner

    In NO case use the registry cleaning Option in CCleaner

    _____________________________________

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    And Norton Backup, if you are using Norton, can do strange things with filling of hard drive space.

    See you soon.

  • How can I prevent the access denied message when you use the shutdown command?

    I use shutdown /m \\computername/s

    I have "Access denied (5)" as an answer.
    I am admin on all my computers. Same username and password on each of them.
    How can I get this shutdown command to work remotely, so I can't access every computer command prompt via Remote Desktop?
    How can I prevent the access denied message when you use the shutdown command?

    Hello

    I suggest you to report this issue in TechNet Forums for Windows 7 networks: http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/threads

    Thank you.

Maybe you are looking for