Column Aliases not working when using MS Query into Excel?

I setup an Oracle ODBC connection from my desktop to an Oracle 9i DB, and created an MS Query sql:
select sysdate as "Today" from dual;
When I tried to run it and return it to Excel, it would ignore the column alias of 'Today' and keep putting in 'SYSDATE' as the column header.
SYSDATE
==========================
2007-04-18 11:55:54
What I expected was:
TODAY
==========================
2007-04-18 11:55:54
I've read some other reports out there on the web and tried changing a registry entry per the MSDN knowledge base, but that didn't help. Several of the existing threads in this forum only refer to exporting directly to an Excel file from Oracle, rather than pulling the information from the db into excel using an abstraction layer such as ODBC (ADO would be similar I'm sure).
Just curious if other Oracle SQL guys have run into this same problem. I'm sure somebody's had to use a column alias in their Oracle->Excel results before..

Are you using SQL plus? Have you tried Oracle's SQL
developer? It is free, does not require an install
on your computer (you can run it from a flash drive),
and it exports pretty smoothly to excel.I'm not using SQL Plus -- this was purely excel / ODBC as the client and Oracle as the database layer.
I had looked at SQL Developer, along with DB Visualizer (along the same lines , as a sql gui with some export capability to .csv and excel formats). However, I don't think it quite served my purpose in trying to have a workable data-source where I could pull from Excel and use VBScript or C# to do the manipulation and customized reporting/charting/pivot-tabling.
My eventual workaround was to bypass MS Query altogether for creating the 'external data table' in Excel, and instead create the query through code.

Similar Messages

  • How do I set up a mail group on mac mail?  All the advise on line seems to refer to 'address book' and I only have 'contacts'.  The guidance does not work when using 'contacts' - can anyone help me?

    How do I set up a mail group on mac mail?  All the advise on line seems to refer to 'address book' and I only have 'contacts'.  The guidance does not work when using 'contacts' - can anyone help me?

    Create a group and send mail
    http://www.dummies.com/how-to/content/how-to-create-a-basic-contact-group-in-mac -os-x-li.html
    http://www.macworld.com/article/1165582/how_to_email_groups_with_mail.html
    Best.

  • Photoshop CC. Colour selection not working when using alt and brush.

    Hi, Photoshop CC. Windows 8.1 64 bit. Colour selection not working when using alt and brush. I have tried rebooting and other things like closing swatch panel etc.
    The alt key is otherwise OK.  It's not the recent upgrade from Win 8 to 8.1 (5 days ago) because the colour selection facility was working yesterday. Any ideas.

    I'd say things sound desperate enough to try resetting Preferences
    Reset Preferences
    Windows — Hold down Shift Ctrl Alt immediately after starting Photoshop
    Mac — Hold down Shift Cmd Opt immediately after starting Photoshop
    If that fails, we need to know your operating system?
    Do you have a full CC subscription, or by apps do you mean Photoshop, Bridge and Lightroom?
    Another other information that might pertain ?

  • Siri does not work when used for calling a contact function

    Siri does not work when used for calling a contact function

    Very strange, try to turn off/on your iPhone. Or make a reset (home+power button)...
    If it continues try to restore it.

  • HT204168 touch screen function not working when using facetime

    Why is my iPad touch screen function not working when using FaceTime?

    Hi megascones,
    I apologize, I'm a bit unclear on the exact nature or scope of the issue you are describing. If you are having issues with the touch screen on your iPad, you may find the troubleshooting steps outlined in the following article helpful:
    If the screen on your iPhone, iPad, or iPod touch doesn't respond to touch - Apple Support
    Regards,
    - Brenden

  • Why is my touch screen function not working when using facetime

    Why is my touch screen function not working when using facetime

    Hello megascones,
    After reviewing your post, it sounds like the screen is not responding to touch in one app. I would recommend that you read this article, it may be able to help the issue.
    If the screen on your iPhone, iPad, or iPod touch doesn't respond to touch - Apple Support
    Restart your device. If you can't restart, reset your device.
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Lenovo S8-50LC Wlan(WiFi) Does not work when use Sim Cart(3G)

    Hi
    Tablet Lenovo S8-50LC
    Wlan(WiFi) Does not work when use Sim Cart(3G).
    What is the solution for this problem?
    Build Number : TABS8-50LC_S000200_150121_ROW
    SoftWarw Version : TABS8-50LC_150121

    Right, but if you have the SIM in the tablet and you put the tablet in airplane mode, does wifi work then? If so, it may be a bad SIM. Do you have another SIM you can try?

  • Touch ID in my iPhone six does not work when it's plugged  into the wall is anybody else having this problem?

    i've noticed a touch ID only works with my iPhone six is not plugged into the wall was soon as I plug it in it doesn't work anymore doesn't even register fingerprint.

    Charger60 wrote:
    i
    Touch ID in my iPhone six does not work when it's plugged  into the wall is anybody else having this problem?
    No. You are the only one. The way I know is that I don't have the problem, therefore no one else can have it.
    Seriously, no matter what problem you have, with a half billion iPhones in use, someone else will have the same or similar problem. So knowing that doesn't help solve it in the slightest. As it's new and still in warranty I would take it to an Apple store. Make a genius bar appointment first so you won't have a long wait.

  • I inherited an 2003 ipod from my daughter. The controls will not work when it is plugged into a power source. Can anyone help?

    I inherited a 2003 ipod from my daughter. The controls will not work when it is plugged into a power source. Can anyone help?

    But they work normally when not plugged in?  What kind of power source are you plugging it into? It maybe outputting more than what the iPod can handle.  I had this happen to an iPod I plugged into a powerstrip that was plugged into the cigarette lighter in a vehicle an experienced the same thing.
    B-rock

  • Why does diadem intellisense not work when using scriptinclude or for global object

    I have a script with a different classes in it (scripted 1).  When I create an object of a class in the script 1 intellisense works.  Intellisense is when you type name of the object created from a class it shows all the possible variables and functions contained in that object.  But when I write another script and use scriptinclude(scripted 1) the intellisense does not work.  I also tried a global object and intesllisense does not work.  Is there a way to get intellisense to work when using scriptinclude?  I am working with version 2012. 

    Here is more information on the issue.
    I have a script with a different classes in it (scripted 1).  When I create an object of a class in the script 1 intellisense works.  Intellisense is when you type name of the object created from a class it shows all the possible variables and functions contained in that object.  But when I write another script and use scriptinclude(scripted 1) the intellisense does not work.  I also tried a global object and intesllisense does not work.  Is there a way to get intellisense to work when using scriptinclude?  I am working with version 2012. 
    'Test.vbs
    class test
        public function test1()
             msgbox("test1")
        end function
        public function test2()
             msgbox("test2")
        end function
    end class
    'now create a object of the class
    dim oTest
    set oTest=new Test
    'now when you type oTest. you get the following functions to choose from
    oTest.test1
            .test2
    Now if you remove the object from Test.vbs and create a main program with scriptinclude(Test.vbs) it will not show the two functions
    'Main.vbs
    Option Explicit  'Forces the explicit declaration of all the variables in a script.
    call scriptinclude("c:\1atmp\Test.vbs")
    dim oTest
    set oTest=new test
    'now when you type oTest. it shows none of the functions in the object oTest
    oTest.

  • Microphone not working when using a phone call, Microphone not working when using a phone call

    Microphone is not working when i use my iphone 4, first day when i installed a iOS 7 , was all good, second day this happened. Please help me. When i use a Viber microphone working. I think this is not a hardwear problem.

    Hi Mike
    That was very helpful thank you.
    I did as you suggested and found the "switch" was already turned on green. I swiched it off waited a while then turned it back on and microphone was back in use in viber. I have a sneaky feeling I may have to do this again in the future.  I am not aware that I did anything that led to the microphone going off, but having said that I have only had the phone for a few days so may have done something when checking it out.
    The phone has been a lot of fun after replacing my ancient Nokia with it. That Nokia worked in Morse code!
    Best wishes
    Rob

  • Keyboard backlighting not working when using Windows in Boot Camp

    Hi, I'm posting this for a friend with a new Macbook Air. He says that his keyboard backlighting does not work when he is using it for Windows (don't know which, but probably Vista). Any ideas why? Thanks. Gary

    Install all the drivers needed when running boot camp - try for example inserting a DVD - then press the eject key - See if it comes out - If it doesn't install all the drivers - try Control Panel - If not try re-installing your version of Windows.

  • Elements 11 - Brush tool not working when using layer mask

    My brush tool won't work when using layer mask in PS Elements 11. I also have Elements version 10 installed and there it works fine. If I do the exact same proces in version 11 nothing happens.
    Is this a bug or has something changed in the proces?
    Please help.
    Thanks.

      Make sure you have the mask thumbnail selected - it will be highlighted in blue.

  • Enter Key Not Working When Using Text Tool

    For some reason, my enter key has stopped working when using the text tool.  Instead of making a soft return to a new line, it simply commits the type. What is going on here?
    I'm using a desktop and CS3.

    there are 2 enter keys in key board
    if u enter main key board enter, sentence will go to next line
    In case u enter the key  available in  rightside of the key board , in the cluster of numericals, the type tool is committed.

  • Microphone not working when using Skype

    My microphone is not working properly.  I went into the settings and adjusted the input volume and tried to test call on Skype but it still isn't picking up any sound.  Please let me know how to fix this.

    To verify if Mic is working, go to:
    System Preferences-->Speech-->Speech Recognition-->Calibrate
    If you see the colored meter bouncing when sound is made (just start talking out loud), then the mic is fine. Delete the current version of Skype, download the newest and try again.

Maybe you are looking for