Copy/Past from SQL Worksheet with Column Headers

Is there a way to copy & paste results out of a SQL Worksheet and have the column headers included?
Message was edited by:
user640368

Hi,
I've never known that this feature has been implemented.
The feature exchange said that it is Accepted without giving the detail of when would it be implemented.
http://apex.oracle.com/pls/otn/f?p=42626:39:1324151408296493::NO::P39_ID:5021
The current release notes don't say anything about this as well.
My mistake than if it was noted on previous version.
However, glad to hear if this has been possibly to be done.
I'll have it a try once I've access to my SQL Dev.
Regards,
Buntoro

Similar Messages

  • Lync 2013 and problem with copy/paste from SQL Mgmt Studio.

    Hi Everyone,
    Recently one of ours programmers noticed a very interesting issue which is a real pain in the a## for him and his colleagues. It was all fine with Lync client 2010, problem started when moved some people to 2013 client.
    When someone sends him a message with SQL Code, and he is pasting it into SQL mgmt std. he gets dashes "-" instead of spaces " ".
    I thought this is a local PC issue, but:
    1. On 2010 it worked, stopped all of a sudden when they changed lync client to 2013
    2. They are pasting code on the SERVER not local SQL mgmt std. on their client machines
    3. Even if I send him a code from Lync 2010 and he is pasting that from his 2013 client - he gets "-" dashes, so I guess it is not important from where I send the message, but from where he is copying it.
    As for now, I have noticed that problem with guys from England and region of APAC - they have lync 2013 client already.
    Really appreciate any help as I donot have any point where to start troubleshooting...
    Cheers guys,

    Hi,
    I test the issue with my colleague and didn't find the same issue.
    Here is the screenshot:
    So please check if Lync Server 2013 and all the issued Lync 2013 client update to the latest version firstly, it not update to the latest version, update it and then test again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • SQL Developer: How do I copy data with Column Headers from the output grid?

    Hello,
    I am using Version 2.1.1.64.
    I run a SQL query, I get the results grid in the "Query Result" window down below. Say I get 10 rows returned, with 5 columns.
    I want to Copy this entire grid, plus the column headers/names, to the clipboard. So I can paste it under the original query to document the results of that query.
    I can't find any way to do this. I can copy/paste the results grid, but it doesn't copy the headers.
    The only way I see to do it is to go through numerous steps to Export to a TXT file, then paste that. Unfortunately, that is a lot of wasted steps if I need to do this over and over, plus, the output gets pasted in an ugly format with double quotes, etc.
    It seems like the simplest functionality is to copy/paste the entire results grid, and of course you might the headers. Why is this so complicated/impossible to do?
    (I believe Toad has the same problem. DBArtisan allows you to copy/paste the entire results, plus headers, though.)
    Any assistance would be appreciated!
    Thanks,
    John

    Ah, ok...
    I had tried that before, and it didn't work, it seemed to copy the path of filename I was using. But I think that was because I had clicked on a Column Header first, and it had asked me if I wanted to filter. I think then it lost track that it was in the grid. It's a little flukey.
    What I did now was to click on an individual cell in the output, then hit CTRL-A to select all, then hit SHIFT-CTRL-C. That gives me exactly what I want.
    Thanks very much for your quick solution, I appreciate it!
    John

  • How to export data with column headers in sql server 2008 with bcp command?

    Hi all,
    I want know "how to export data with column headers in sql server 2008 with bcp command", I know how to import data with import and export wizard. when i
    am trying to import data with bcp command data has been copied but column names are not came.
    I am using the below query:-
    EXEC master..xp_cmdshell
    'BCP "SELECT  * FROM   [tempdb].[dbo].[VBAS_ErrorLog] " QUERYOUT "D:\Temp\SQLServer.log" -c -t , -T -S SERVER-A'
    Thanks,
    SAAD.

    Hi All,
    I have done as per your suggestion but here i have face the below problem, in print statment it give correct query, in EXEC ( EXEC master..xp_cmdshell @BCPCMD) it was displayed error message like below
    DECLARE @BCPCMD
    nvarchar(4000)
    DECLARE @BCPCMD1
    nvarchar(4000)
    DECLARE @BCPCMD2
    nvarchar(4000)
    DECLARE @SQLEXPRESS
    varchar(50)
    DECLARE @filepath
    nvarchar(150),@SQLServer
    varchar(50)
    SET @filepath
    = N'"D:\Temp\LDH_SQLErrorlog_'+CAST(YEAR(GETDATE())
    as varchar(4))
    +RIGHT('00'+CAST(MONTH(GETDATE())
    as varchar(2)),2)
    +RIGHT('00'+CAST(DAY(GETDATE())
    as varchar(2)),2)+'.log" '
    Set @SQLServer
    =(SELECT
    @@SERVERNAME)
    SELECT @BCPCMD1
    = '''BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT '
    SELECT @BCPCMD2
    = '-c -t , -T -S '
    + @SQLServer + 
    SET @BCPCMD
    = @BCPCMD1+ @filepath 
    + @BCPCMD2
    Print @BCPCMD
    -- Print out below
    'BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername'
    EXEC
    master..xp_cmdshell
    @BCPCMD
      ''BCP' is not recognized as an internal or external command,
    operable program or batch file.
    NULL
    if i copy the print ourt put like below and excecute the CMD it was working fine, could you please suggest me what is the problem in above query.
    EXEC
    master..xp_cmdshell
    'BCP "SELECT  * FROM  
    [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername '
    Thanks, SAAD.

  • Cannot copy and paste from PDF Created with Distiller 9.0

    Hi,
    Can anyone tell me why I would be havingissues with copying/pasting from a PDF created w/ Distiller 9, as opposed to Distiller 8.x?  I don't use Distiller myself, it just looks like this was what the creator of the document used.  Is this a possible copyright protection that's been built in?

    I can select text, but oddly enough it seems to automaitcally select random text - I can't select line to line.  It randomly selects parts of all paragraphs at once.  I'm very certain it's not an image.
    I also checked to see if there were any security features that might be preventing copy/paste, and found none.  I even compared it to an older edition of the document (which we can select text from perfectly), and none of the security features were any different.  I would send this PDF to you, but I am in a heavily regulated work environment that doesn't allow for outgoing attachments or uploading.
    If you have any other ideas, please let me know.  If not, I really do appreciate your help.
    Thanks.

  • Problem of spaces with copy-paste from Acrobat Reader X (10.1.0)

    Hi all,
    I have a problem when doing a copy-paste from a text in Acrobat Reader X (10.1.0). When I paste, all spaces are erased.
    It does not come from the document as the problem is for every pdf.
    Do someone have an idea of where the problem comes from ?
    Thanks and cheers
    Julien

    This is not the forum for Reader, but the problem probably lies with the way the file was created, and/or with the fonts used in it.

  • A problem with copy/paste from extract panel in Dreamweaver 2014.1.1

    I have a problem with copy/paste from extract panel in Dreamweaver 2014.1.1 :
    Russian letters pasting in dreamweaver html in such way:  ffd0 ff9e  ffd0 ff9a ffd0 ff9e ffd0 ff9c ffd0 ff9f ffd0 ff90 ffd0 ff9d ffd0 ff98 ffd0 ff98
    Can you help? What could it be?

    Hi,
    I test the issue with my colleague and didn't find the same issue.
    Here is the screenshot:
    So please check if Lync Server 2013 and all the issued Lync 2013 client update to the latest version firstly, it not update to the latest version, update it and then test again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • I cant copy/paste from an article to my web site, get a Mozilla Rich Text Editing demo page will not work.HELP

    Tried to copy/paste from an article to my web site and got a "cannot copy /paste " warning and was directed to a security perferences site that said that Mozilla Rich Text Editing demo page will not work.
    Tried to find my Firefox profile directory using the start menu and was directed to hit enter to go to web. Feel like i am getting run around.

    Let's start with something very basic, and that is, you do not need to use the paste button on most websites. The button just reads what is on your clipboard and sticks it into the form. You can do that yourself using Ctrl+v or right-click>Paste.
    For your security, I suggest using those standard Windows keyboard shortcuts (Ctrl+x cut, Ctrl+c copy, Ctrl+v paste) or the context menu.
    Occasionally you will find a paste button that runs a clean-up script or otherwise does something useful. That is where the (admittedly a bit complicated) instructions come in handy.
    To open your active profile folder, you can use:
    Help > Troubleshooting Information > "Show Folder" button
    Which help article are you using for the modifications?
    Finally, please be cautious in opening up your clipboard to sites. You may have stuff you copied from other pages or other programs that you do not want to share with most sites.

  • Copy-Paste From Other Apps (like PPT 2004) Into CS5 Broken ? -  OS 10.6.3

    Hi,
    New Mac, so to avoid problems went for the new post-Snow Leopard Photoshop CS5. Oops.
    Copy-Paste From Other Apps Into CS5
    Pasting images/photos from Powerpoint 2004 to CS5, I experienced the exact problem posted slightly off topic by james norrington in the thread "CS5 does not let me copy & paste file names."  It was not answered and is quoted here:
    ---"I am using CS5 Photoshop and Office 2004 on 10.6.3. I was using 10.4 until a few weeks ago and it worked and still works with other macs in the office using CS4. I can copy and paste from powerpoint but it cuts the pictures in half and does not know what the res. of the image is. Also when I go from photoshop to powerpoint the image res. is also not preserved."---
    Besides that, I also found copy-paste from a digital camera photo.jpg from Preview to CS5 doesn't respect the resolution either. Directly opening the photo into PS CS5, fine.
    From the earliest PS, always was able to copy any image to clipboard, have a new document dialog box come up pre-filled with correct original WxH pixels, original resolution, color mode, etc., and just paste into the new document - perfect fit (even the oddball PPT 576 ppi). Now a shift and cut-off.  Don't have PPT 2008 to test pasting from there.
    I have also found that a similar but less severe image cut off happens when copy-paste from PPT -> Preview, or -> TextEdit, or ->  drag and drop picture clipping.
    Opening Image File in CS5
    Even an original 300 dpi tiff file wrongly went to 72 ppi etc. when opened directly into CS5. Converted the file to a jpeg in Preview - that jpeg file could be opened into CS5 correctly, reconverted the jpeg to TIFF in Preview, still opened OK (not counting loss of image quality). Still couldn't copy paste from either document into CS5 correctly. One difference I noticed in the converted files was that more information was available in the Preview file info. Maybe that made the difference in opening the file correctly.
    I'd welcome any suggestions. Thanks.
    ---detail of tiff file ---
    original
         GENERAL
         Color Model: RGB
         Depth: 8
         DPI Height: 300
         DPI Width: 300
         Pixel Height: 1033
         Pixel Width: 1315
         TIFF
         Compression: LZW
         Photometric Interpretation: RGB
         Software: Image-Pro Plus
         Y Resolution: 300
    After conversion to jpeg in Preview"
    GENERAL
         Color Model: RGB
         Depth: 8
         DPI Height: 300
         DPI Width: 300
         Orientation: 1 (Normal)
         Pixel Height: 1033
         Pixel Width: 1315
    EXIF
         Pixel X Dimension: 1315
         Pixel Y Dimension: 1033
    TIFF
         Color Model: RGB
         Depth: 8
         DPI Height: 300
         DPI Width: 300
         Orientation: 1 (Normal)
         Pixel Height: 1033
         Pixel Width: 1315
    ----END---

    Thanks to Chris for the explanation of the dueling clipboards.
    It's still frustrating, but since I still have a CS2 license from the dead G4 the current Mac replaced, I can try that (wonder if they can coexist), or maybe I could use an older Mac for this particular situation.
    As for the .tif file, it was generated by a Mac OS 8.5 era image capture program that we are forced to use, and the analysis was that the app does not properly encode the TIFF tags to acceptable standards. Preview 5.0.2 just guessed right from the little information that was included - but it didn't work when tried with Preview 3.0.9 on an OS 10.4 Mac. So this was a unique situation.

  • Extract All Embedded Files in All Folders and Save Each? Copy/Paste from PDF to Word?

    I have most of what I need here, but I’m missing 2 important pieces. 
    #1)  I want to copy/paste from all PDF files in a folder and paste the copied data into a single Word file. 
    It works fine if I have ONLY Word docs in my folder.  When I have PDF files and Word files, the contents of the Word files are copied in fine, but the contents of the PDF files seem to come in as Chinese, and there is no Chinese in
    the PDF, so I have no idea where that’s coming from.
    #2)  I want to extract all embedded files (in all my Word files) and save the extracted/opened file into the folder.  Some embedded files are PDFs and some are Excel files.
    Here the code that I’m working with now.
    Sub Foo()
    Dim i As Long
    Dim MyName As String, MyPath As String
    Application.ScreenUpdating = False
    Documents.Add
    MyPath = "C:\Users\001\Desktop\Test\" ' <= change this as necessary
    MyName = Dir$(MyPath & "*.*") ' not *.* if you just want doc files
    On Error Resume Next
    Do While MyName <> ""
    If InStr(MyName, "~") = 0 Then
    Selection.InsertFile _
    FileName:="""" & MyPath & MyName & """", _
    ConfirmConversions:=False, Link:=False, _
    Attachment:=False
    Dim Myshape As InlineShape
    Dim IndexCount As Integer
    IndexCount = 1
    For Each Myshape In ActiveDocument.InlineShapes
    If Myshape.AlternativeText = PDFname Then
    ActiveDocument.InlineShapes(IndexCount).OLEFormat.Activate
    End If
    IndexCount = IndexCount + 1
    Next
    Selection.InsertBreak Type:=wdPageBreak
    End If
    On Error Resume Next
    Debug.Print MyName
    MyName = Dir ' gets the next doc file in the directory
    Loop
    End Sub
    If this has to be done using 2 Macros, that’s fine. 
    If I can do it in 1, that’s great too.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Hi ryguy72,
    >>When I have PDF files and Word files, the contents of the Word files are copied in fine, but the contents of the PDF files seem to come in as Chinese, and there is no Chinese in the PDF, so I have no idea where that’s coming from.<<
    Based on the code, you were insert the file via the code Selection.InsertFile. I am trying to reproduce this issue however failed. I suggest that you insert the PDF file manually to see whether this issue relative to the specific file. You can insert PDF
    file via Insert->Text->Object->Text from file.
    If this issue also could reproduced manually, I would suggest that you reopen a new thread in forum to narrow down whether this issue relative to the specific PDF file or Word application.
    >> I want to extract all embedded files (in all my Word files) and save the extracted/opened file into the folder.  Some embedded files are PDFs and some are Excel files.<<
    We can save the embedded spreadsheet via Excel object model. Here is an example that check the whether the inlineshape is an embedded workbook and save it to the disk for you reference:
    If Application.ActiveDocument.InlineShapes(1).OLEFormat.ClassType = "Excel.Sheet.12" Then
    Application.ActiveDocument.InlineShapes(1).OLEFormat.DoVerb xlPrimary
    Application.ActiveDocument.InlineShapes(1).OLEFormat.Object.SaveAs "C:\workbook1.xlsx"
    Application.ActiveDocument.InlineShapes(1).OLEFormat.Object.Close
    End If
    And since the Word object model doesn't provide API to save the embedded PDF, I would suggest that you get more effective response from PDF support forum to see whether it supports automation. If yes, we can export the PDF as embedded spreadsheet like code
    absolve.
    Hope it is helpful.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problems doing copy/paste from Flash to Illustrator

    This is a problem I've had since Flash 8: when doing a
    copy/paste from Flash to Illustrator (on Windows), there's extreme
    degradation of the artwork, sometimes to the extent that no actual
    art is even copied. All the curves seem to be approximated with
    straight line segments, but at some point it just seems to give up
    even trying, leaving an unidentifiable blob for most of the object.
    As I said, sometimes it doesn't even copy anything at all -- all
    that shows up after pasting into Illustrator is an empty group.
    The weird thing is that this process worked fine in Flash MX
    2004. What could possibly have changed? I was sure with CS3 it
    would be fixed, but it wasn't. I haven't tried Illustrator CS4 yet,
    but copying from Flash CS4 to Illustrator CS3 produces the same
    problem.
    I've seen a few other reports of this problem in other
    forums, but I've encountered it on every install of Flash and
    Illustrator I've tried (admittedly, all Windows machines, but three
    or four different ones, both XP or Vista). Can anyone here confirm
    that this problem exists or doesn't exist on their computer? To
    test it, create a piece of art with plenty of curves and several
    colors in Flash, then copy and paste it into an illustrator
    document.
    If this problem is as widespread as my experience seems to
    indicate it is, why hasn't it been fixed in two major revisions of
    the software? Is Adobe even aware of it? If not, how can I let them
    know? I'm getting majorly sick of having to deal with it.
    Illustrator used to be a much larger part of my animation process,
    but now I can't use it how I really want to because of the bad copy
    and paste functionality.
    -David

    Hi,
    The integration between Flash CS3 and Illustrator means you
    can copy objects from Illustrator to Flash and i think if you copy
    from Flash to illustrator or Photoshop, you would not get a good
    results.
    You can solve your problem by exporting your Flash work as
    .AI.
    Your idea about the ability to copy from Flash to Illustrator
    is a good idea although Illustrator can not read some of the Flash
    imported information correctly. But it is still a good enahcement
    idea. There is a link where you can add suggestions but I do not
    remember it and I am replying using mobile, so my browsing
    capabilities is limited.
    I will try to post the link here when I got to my back normal
    connection
    Thanks alot!!

  • Copy & Paste from Illustrator to InDesign CS4

    Hi,
    I am aware that there are issues when copying/pasting from Illustrator to InDesign, in particular:
    http://help.adobe.com/en_US/InDesign/6.0/WSa285fff53dea4f8617383751001ea8cb3f-6bdda.html
    I have the following problems:
    1- I copy and paste text from Illustrator to InDesign on the same platform and some (not all) of the text is converted to outline in InDesign. The same font is available to both applications. Why this behaviour?
    2- I copy and paste objects containing text from Illustrator to InDesign and some of the objects appear to have moved respective positions when pasted into InDesign. Is this to be expected?
    Are there solutions to these problems? Note that if I expand everything in Illustrator prior to copying and pasting into InDesign, none of these issues occur, but everything is obviously in outline form, with the limitations it entails.
    My clipboard settings are as indicated in the link above, but I have tried other settings with no more luck.
    (Important: Before pasting a graphic, make sure that Illustrator is configured to copy as AICB (see Illustrator Help). In InDesign, make sure that Prefer PDF When Pasting isn’t selected in the Clipboard Handling preferences. If these options aren’t set properly, the Illustrator graphic cannot be edited in InDesign.)
    It is not practical for me to create an Illustrator file for each of the Illustrator graphics and import those files via Place into InDesign. I must use Copy/Paste.
    I use CS4.
    Thanks.

    You can copy/paste from Illy to ID by selecting the text with the type tool in Illy and then pasting it into ID. You will not be able to maintain the formatting. If you want to maintain the appearance the text will be converted to outlines.
    If you need to get anything other than very simple objects from Illy to ID then you should save as AI and use the file > place command to place those objects as linked graphics into ID.
    Your closing statement is irrelevant. Whether you like it or not, this is the way it is.
    Bob

  • I'm composing an e-mail, and I copy/paste from a web page.

    Let's suppose I copy / paste from a web document. For the sake of argument I'm using Mail.  A black box appears around the pasted part (with a "X" in the corner).
    But, if I do a second paste, the new text is always inside the old box, therefore screwing up the indent.
    I can't get the curser to start outside the box. How can I get rid of the box while composing?
    Yes, the box disappears when I click outside it, but re-appears if I go for a new line below it.
    Here's an example of how it looks.
    #1. The fox.
           The quick brown fox jumped over the i-mac.
            #2.  I'm frustrated that I can't paste or type where the first line started, indent wise.
    Once the curser is after the word i-mac, and I try to move it down, the next line always goes to the indent of "The" and not #1.

    I take you are trying to write an email within Safari, try this open Safari and click on the Safari menu and select reset Safari. 

  • How do I copy & paste from an email to another web site?

    How do I copy & paste from an email to another web site?

    Hello, not quite sure what it is you want to do.
    In Mail you can copy something by highlighting it & CMD+c, or Mail>Edit>Copy, but whether you can paste it to a website, not sure, but you could say paste in in a Reply here...
    Re: Grey Screen with spinning gear
    reply from duwatucan in Mac mini - View the full discussion
    Congratulations, your post has solved duwatucan's question.
    Learn more about the Apple Support Communities Reputation System
    Did this help? Go to the message, sign in, and reply
    Start a new discussion in the same community

  • Copy paste from Illustrator

    Would be also very nice to be able to do Copy-Paste from vector element in Illustrator. The workflow of creating .svg file from every elements is very long.
    Wish to be able to do a copy-paste with an automatic .svg conversion in Edge Animate....

    Hi Jonathan,
    This feature is now available in the latest Edge Animate CC 2014 release. You can try it out.
    Find more information @ Edge Animate Help | New features summary
    Regards,
    Dharmendra

Maybe you are looking for

  • Issue in Display PDF OutPut with Thai characters using OracleReports9i

    The Report has Cordia New font for display the Thai Charecter.I am using the Win2000 OS. The Oracle ReportsBuilder9i shows proper Thai Character, but when we generate to PDF file the output shows as junk in Adobe Acrobat Reader5.0 The environment var

  • Problem with Roxio Media manager

    Hello, I have installed v4.6 for my desktop manager and it the Roxio media manager worked fine for a couple times and now it tries to reinstall it everytime i use it?  1) Why is it trying to reinstall? 2) How can i fix it? 

  • How to start from a specific point on the timeline

    I have a horizontal list of image thumbnails, there are 21 thumbnails and only 7 are visible at one time and scrolls back and forth. It works fine. However, when I choose an image that is not in the first seven, say the 8th image, the page loads and

  • Employee Attendance Related

    Hi I have two forms to mark employee attendance daily and employee Leave.Which employees are present marking attendance P into emp_attendance table. i have to keep record of the absent teacher who didn't inform and emplyee which are on leave.Which em

  • Stock Transfer delivery pending for Invoice (ZF8) Type

    Hi How i can see pending delivery for invoice type ZF8. Please tell a T code for the same. Thanks Karamvir Kauhsik