Possible to use a wildcard to select all columns?

I have a large table dénormalisée with 108 columns.  I know I can "select * from ' to display all values in column, but is there a shorthand notation to select all columns except the first?

I know that I can:

Select * from table;

But if I don't want col1, I do this:

Select col2,

col3,

COL4,

...

col107,

col108

table;

Is it possible to do something like that? :

Select (* less col1) table.


The reason why I ask, is that I write a few features to "clone" the rows of the table.  I wrote an insert that looks like this:

Insert into my_table (col2, col3, col4,... col107, col108)

Select col2, col3, col4,... col107, col108

from my_table

where col1 = 123;

I do not insert col1 in the table because I have a trigger and sequence that it will fill in automatically.

Is there a shorthand notation that I could use here to avoid having to type "col2, col3, col4,... col107, col108 '?

There is no wildcard character that will do what you ask, but this does not mean that you must manually type the 100 column names.

Instead of doing something like this:

SELECT column_name | ',' Of all_tab_columns WHERE table_name = 'YOUR_TABLE_NAME_HERE' AND column_id > 1 ORDER BY column_id

Cut and paste the results in your SQL statement as required.

Tags: Database

Similar Questions

  • IDCC2015 possible bug (MacOSX 10.9.5) - select all unused not selects default cyan when not in service

    Use IDCC2015 for a few weeks now and noticed something strange when clean colors hors d'oeuvres and nuance C100 M0 Y0 K0 was always present, even if it was not used in the documents I was cleaning the top.

    That said, I decided to do a test of bug:

    (1) make a new document,

    Screen Shot 2015-07-14 at 12.17.28 pm.png

    (2) without adding items to the page at all, go in the swatches Panel, and then choose ' select all unused. "

    Screen Shot 2015-07-14 at 12.18.04 pm.png

    3) from there, most (but not all) of witnesses NO square brackets are selected. I understand that select all unused won't delete colors in square brackets.

    Screen Shot 2015-07-14 at 12.18.13 pm.png

    And of course if I click the little trash can at the bottom right of the palette, default cyan remains

    Screen Shot 2015-07-14 at 12.18.20 pm.png

    I tried this on Macs three use IDCC2015 and the same failure occurs. Can anyone else try and reproduce this bug and if this is the case, please confirm the results?

    Thank you very much

    Colin

    Hi Collin,

    This is no bug. It is designed. (Sigh).

    Cyan, actually the color named "C = 100 M = 0 Y = 0 K = 0", is the default of the new feature Shading paragraph fill color and is also set in the style "[no paragraph Style]". And the "[Basic Paragraph Style]" is still based on that. So every time that you remove "C = 100 M = 0 Y = 0 K = 0" (and will trade with, say "[Black]" or any other color) and copy/paste the text from an InDesign document different, "C = 100 M = 0 Y = 0 K = 0"will return."

    You can't avoid it.

    Uwe

  • In CC, why can I no longer use select/Modify/contract after selecting all?

    I using CS3 and I am now on CC.
    I tried to use the border option then the opposite, but it is a stopgap.

    Alternative suggestions or solutions?
    Thank you very much.

    This was the address in the past.  You can solve this problem by using other methods.  Select all, Selet > transform selection. or add a blank layer STROKE select it all internal selection the number of pixels you want to contract the selection.  Select the transparency of the layer outline, then invert the selection.

  • How to use the wildcard character in the name of file, in SyncRead operation in the file adapter.

    Hi all
    Is it possible to use the wildcard character in file name when creating adapter file for SyncRead operation.

    I used write*.txt as the name of the file to read. But got error below->


    file:/C:/product/10.1.3.1/OracleAS_1/BPEL/domains/default/tmp/.bpel_notification2_1.0_93d419d1ca67f87872914bf6daf16180.tmp/readfile3.WSDL [SynchRead_ptt::SynchRead (Empty, are)] - SISM JCA Execute of 'SynchRead' failed due to the operation: no file to process.
    D:\temp\temp1\write*.txt file to process is not found or is not available
    ; nested exception is:
    ORABPEL-11007
    No file to process.
    D:\temp\temp1\write*.txt file to process is not found or is not available
    Check the error stack and correct the cause of the error. Contact oracle support if the error is not repairable.

    Best regards

    Vikash

    You cannot set the wildcard for file names. But you can provide the name of the file dynamically if you're on soa suite 10.1.3.4 minimum. You can get the information about it in this link http://download.oracle.com/docs/cd/E12524_01/relnotes.1013/e12523/adapters.htm#CHDBBFBD

  • Using refine edge (or select and mask) only on a part of an existing mask

    Is it possible to use refine edge (or select & mask) only on a part of a mask to avoid mess with what is already ready to go? (which to choose and mask tends to often especially when you use the brush, then the border brush refine for example).

    Kinda like the gel with fluidity tool or masking of the areas you want to not use when using content aware.

    Thank you.

    PS: I would like to be able to do it directly on the mask, I train without having to store selections as a channel. This is because it is not convenient when you want to do a lot of time on complex selections.

    I don't know of any provision aimed at limiting (gel) edge tool refine in some and mask - sounds like a great idea to raise here:
    https://feedback.Photoshop.com/photoshop_family

    However, I used workaround, to refine part of the mask, that doesn't involve not only save as channels and takes longer to describe than to do:

    1. prepare your initial mask and save with the layer.
    2 click once on this mask
    3. use the lasso tool to draw around the area you want to change (refine)
    4. make a right click the mask and click "Intersect with selection".
    5. fill in the new selection with black (on the layer mask)
    6. now double-click the mask to open it, select and mask. You will notice that only the area you want to refine is indicated.
    7 tools to refine this area of your mask
    8. Once done select "output to selection", and then click OK
    9. make sure that the mask is highlighted, and then fill the selection refined with White - this puts a new version of the section that you filled with black previously.

    Dave

  • Call javascript function when select all is checked the report

    Hi Experts

    Ive a tabular manual from query below

    SELECT Apex_item.checkbox (1, ID, 'onclick = enableButton ()') select, a, b, c of table

    By choosing 1 or more checkbox individually, enableButton() is called, and works very well as expected

    However when select all is done, I do not know how to call the same function

    Position of column select is: < input type = "checkbox" onclick = "$f_CheckFirstColumn (this)" / > (topic is a checkbox, check, selects all rows in the report) "

    I tried: < input type = "checkbox" onclick = "$f_CheckFirstColumn (this)" onclick = "javascritp:enableButton(); "/ >. It does not help

    Is it possible to call the function when select all is checked?

    Thank you

    Archana

    I changed the title of the

    This solved my problem.

    Thank you

  • Select all values in Column1 and Column2 in Column1 without updating.

    Hi all

    I want to do the following in the coding:

    There are two columns C1 and C2 in the following table PLEI.

    TABLE: PLEI.

    C1 C2
    10011005
    10071009
    10291038
    10751056
    10971076

    I want to do a select statement where I can select the two columns (c1 and C2) to the title of the column 1 (C1), but not to date in column C1.

    Select C1 from PLEI where C1 = (select column C2);

    Desired output: she must select all columns C1 and C2 under the column C1. But it is not updated in Table PLEI.

    Only when I run the Select statement, I want to select all C1 and C2 values under the column C1.

    How can I do this?

    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production

    Is Oracle Designer 6i.


    Thank you.

    Select c1 from PLEI

    Union of all the

    Select c2 of PLEI

    order by 1

    /

  • Is it possible to use the record type or a PL/SQL table in the Select statement

    Hi all

    My requirement is that.
    I want to write a query and write a function, function, I want to return multiple columns at the same time in a Select statement.
    I select the return values in the Select no statement in a PL/SQL block.
    Is it possible to use the PL/SQL Table or Variable of Type record, or any other method in the statement Select?

    Please help me understand the solution.


    Kind regards

    830960 wrote:
    do we like it?

    In general, Yes, if the function is a function table, you can do something like:

    select  t.col1,
            t.col2,
            f.col1,
            f.col2,
            f.col3
      from  table_name t,
               table(some_table_function(param1,...paramN)) f
    /
    

    SY.

  • Why is it not possible to use SIRI on my apple TV remote to control the HomeKit products? I should be able to control all the devices with my Apple TV remote and SIRI HomeKit!

    Why is it not possible to use SIRI on my apple TV remote to control the HomeKit products? I should be able to control all the devices of HomeKit with my SIRI voice remote control and using Apple TV!

    If the new apple TV can act as a concentrator HomeKit and I use SIRI on my iPhone to control my locks, thermostat, lights, etc. Why am I not able to do the same thing with SIRI via voice commands on my Apple TV remote? When is this going to work?

    Also, when Apple will come out with a response to the echo of Amazon? I've tired to wait... do it already! If you build it, they will come...

    Thank you!

    This is a community to a user, and Apple will not see your rant. If you have suggestions about Apple TV, Siri and HomeKit the best thing to do is to submit your comments here. http://www.Apple.com/feedback/AppleTV.html

  • Not possible to use the Nvidia GPU both graphics primary source all the time?

    I went through the manual and the tips of help from Lenovo and it seems that it is not possible to use the NVIDIA GeForce 840 M, 2 GB as the exclusive GPU card.

    The only control that I can find is one in the Panel of 3D graphics and if I read this correctly it assigns that Nvidia will be used when require it strong application processes (I'm guessing games play?) but for activities such as photo editing, it is up to the intel sur-bard chip

    brian1208 wrote:

    I went through the manual and the tips of help from Lenovo and it seems that it is not possible to use the NVIDIA GeForce 840 M, 2 GB as the exclusive GPU card.

    The only control that I can find is one in the Panel of 3D graphics and if I read this correctly it assigns that Nvidia will be used when require it strong application processes (I'm guessing games play?) but for activities such as photo editing, it is up to the intel sur-bard chip

    To force an application to use your NVIDIA graphics card, right click on its shortcut (or an .exe file), point on run with graphics processor and select the NVIDIA processor high performance.

  • is it possible to use airprint on a hp photosmart c7250 all-in-one?

    is it possible to use airprint on a hp photosmart c7250 all-in-one? I'm running vista 64-bit

    Hello sherry36532,

    The printer you have came out before the introduction of the ePrint Airprint and and does not support these features. Here is a link to the supported printers known:

    http://h30434.www3.HP.com/T5/eprint-print-apps-mobile/cloud-services-supported-printers-eprint-AirPrint-print-apps/TD-p/351574

    You can try to download the HP ePrint home & biz app to see if it works for you. Some info on this app can be found at:

    http://support.HP.com/us-en/document/c01923321

  • We just do the last update on Photoshop - that's why whenever we now open photoshop you have to select all the toolbars we want.  They used to be there for example, layers, tools, colors, etc., but now, we have to select each time

    We just do the last update on Photoshop - that's why whenever we now open photoshop you have to select all the toolbars we want.  They used to be there for example, layers, tools, colors, etc., but now, we have to select each time

    You look at the new start screen and files recent screen.  Press ESC to return to your usual workspace.

  • I am currently using Adobe Acrobat Pro and cannot use thumbnail images in some of my PDF files. I have not upgraded and have always the possibility to use with certain PDF files, but not all. Help, please!

    I am currently using Adobe Acrobat Pro and cannot use thumbnail images in some of my PDF files. I have not upgraded and have always the possibility to use with certain PDF files, but not all. Help, please!

    Version: Adobe Acrobat 9 Pro

    Windows

    I found the solution:

    In the PDF file, click View > Navigation panel > Pages

    I had to reset panels to view the Pages again.

    Thank you!

    Heather Solis | Operations associate | Crown AFAM Capital, Inc.

    [personal information deleted by Moderator]

  • "Select all" is grey so I can't use "contours".

    I'm trying to convert a simple logo to a vector for printing t-shirts.  When I did it years ago, I used the vectorization and he took sent to the printer and it worked fine, this time using the latest version of AI, the printer repeat this is not a vector, despite the use of vectorization.

    Website says "place" the logo, use "Select all" and then use "contours".  I can place the logo, but can not select all, I try alt A and just, it beeps at me.

    HELP Please, I have until Monday to get this done.

    Thanks in advance!

    Angela

    You can't see any detail for all the little blue boxes

    I think that these 'small blue boxes' must be the anchor points on the path, although I can't see them clearly on your shot.

    Of course, it will print OK.

  • Select different columns using union all

    I'm trying to select all the records of two table

    Select A, B, C from table1
    Union of all the
    Select A, B, D, E, F from table2

    I get results A, B, C columns but not D, E, F.

    What should I do to get all the columns in the result. as A, B, C, D, E, F

    Thank you
    SK

    Hello

    That's what you asked for:

    select         Total_Customer_Qty,  NULL AS Total_Supplier_Qty,  Item_number,  Org,item_id  from table1;
    union all
    select NULL AS Total_Customer_Qty,          Total_Supplier_Qty,  Item_number,  Org,item_id  from table2;
    

    I hope that's what you want, too.
    If not, post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all tables and also post the results desired from these data.
    Explain, using specific examples, how you get these results from these data.
    Always tell what version of Oracle you are using.

Maybe you are looking for