How do you find a table that doesn't have a specific word in it.

I have two questions.
questions 1
How do you find a table that doesn't have a specific word in it by using a query on the whole database?
questions 2
How would i list all of my cars names in my database not showing duplicates?
I have tried, tried and tried some more to get both of these, but I guess i don't know how to query a specific word.
I also don't know how to query everything in just 1 column name.
If anyone could help with these that would be great I have been trying queries for over an hour now and no luck.
Thanks

798837 wrote:
I tried the all_tab_columns, just like you did it, however that just gives me the column name I am looking for what is not in a column.
For example I need to find all the tables where mustang is not = 'red' but using a single query i need to find all of the tables.
As for number 2
I am looking for something like this
select distinct column_name
from all_tab_columns
where column_name ='AcertainColumn';Now I'm even more confused. In your example, is MUSTANG a column name? Or is it the value of a MODEL column in the CARS table? And how could that possibly relate to something that exists in multiple tables?
If your data model is at all reasonable, I would expect that you would just want
SELECT *
  FROM cars
WHERE model = 'Mustang'
   AND color != 'Red'but I can't see how this would relate to data stored in multiple tables.
Justin

Similar Messages

  • How can you find an ipod that has been lost

    how can you find an ipod that has been lost and the icloud is not turned on

    lost/stolen                                      
    No app is required.                                               
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    iCloud: Find My iPhone
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    iCloud: Find My iPhone
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
    - Apple will do nothing without a court order                                                        
    Reporting a lost or stolen Apple product                                               
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • How can I replicate a source table that doesn't have any primary keys?

    We have transactional replication setup in our workplace.
    In the source database, there are some tables that do not have any primary key.
    1) How can I get these tables to replicate in the current scenario?
    2) Is it possible to introduce foreign elements in a replicated instance of the database?
    Example, additional records in a table that don't exist in the source or additional tables in the database?

    1) You need to add a primary key to this table. There must be a criteria that the app uses to identify which row it wants to up date or delete. If not you might be able to add an identity column to the table and then add a primary key to it. If this is not
    possible you might want to use snapshot replication or CDC to do change tracking and then something like SSIS or service broker to move the change to the destination server.
    2) yes, but be careful. They should not modify the schema or the data of tables which are being replicated.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • How do you sort a table that contains links to cells in another table?

    This is something that I used to be able to do in Numbers but since 2 or 3 updates ago this doesn't seem to happen.
    The problem I have is that I have a table that includes cells that are a sum of a number of cells from another table. When I try and sort by a column all the info in the cells change because, I imagine, the commands linking to the cells in the other table are offsetting by however many rows a particular row has moved.
    This didn't used to happen; it used to hold on to the same data and links regardless of where the sort function moved a row to.
    Had a look through the help pages but can't find anything about it. Has anyone found a way around this?
    Thanks in advance.
    Matt

    Hi mmatt,
    There are several ways to create sort-safe formulas. Without knowing what you are doing in your table it is hard to give specific advice but in general INDEX(), OFFSET() and I think INDIRECT() are sort safe- ie they will ocntinue to point to the same cell wherever they are in your sort.
    If you want specific advice you would need to provide more info.
    quinn

  • How do you find a file that has been replaced?

    I might have accidentally replaced a word file with the same name from something else, and now I can't find the original. Is the original gone for good or is there some place else that I can check? It is a school paper and I am freaking out it is due the end of this week.

    TkMcCray wrote:
    I didn't have my backup assist on when I wrote the paper. I have set it up now. But like everyone stated it is gone, so I am rewriting it now and using this as a learning lesson. Thanks for your help
    He meant, do you have a system backup via Time Machine, Carbon Copy Cloner, etc.?  That's the shortest way to restore your complete system and data when (not if) your hard drive dies.
    Have a nice day.

  • HOW DO YOU FIND WHAT FOLDERS A GROUP / USER HAVE RIGHTS TO?

    I want to be able to tell staff who administrate folders who (user or group) has access to which folders. I would also like
    them to be able to choose a name (user or group) and be able to see all folders which that person can access, and
    ideally what rights they have.
    I can find out the relationship between groups and users it is the folder information that I cannot do.i.e what groups are
    associated with this folder? What users are associated with it - and where is the info stored. I can't find out which table
    stores this information. I can't find an api etc which does it.

    I want to be able to tell staff who administrate folders who (user or group) has access to which folders. I would also like
    them to be able to choose a name (user or group) and be able to see all folders which that person can access, and
    ideally what rights they have.For this query, the closest API available is the wwsec_api.accessible_objects function.
    I can find out the relationship between groups and users it is the folder information that I cannot do.i.e what groups are
    associated with this folder? What users are associated with it - and where is the info stored. I can't find out which table
    stores this information. I can't find an api etc which does it. The easiest way to see who has access to a folder is to look at the Access tab of the folder.
    If you want an API to get this information, you can use the wwsec_api.grantee_list function.
    For this function, the p_name that is passed is dependent on the type of object you're inquiring about.
    For a folder the p_name would be constructed by the site_id || '/' || corner_id.
    The site_id is the content area id and the corner id is the folder id.

  • How do you delete a picture that does not have the trash can icon to do so.

    I Am trying to delete a picture and it does not have the trash can icon. 

    You have to sync it off of the device using iTunes. That is likely how it got there in the first place.
    See:
    http://support.apple.com/kb/HT4236

  • I need to find my i pod touch , i know its in my house but i can't find it. How can i find it if it doesn't have an i cloud account

    Please help me, it's been gone for over  3 months! I a'm 100% sure it's in my house but i can't find it!!!!! Not sure about the iOS.

    You cannot track it at all.
    Sorry.
    After three months the battery is certainly dead.  The ipod would have to be powered on and connected to wi-fi to track it, and that is ONLY if you had set up find my ipod before it was lost

  • How to delete a calendar entry that doesn't have an edit or delete

    I have an iphone4s
    which has an invite from a gmail account which I can't delete from my iphone calendar.
    There is no edit or delete
    Can anyone help please,  thanks

    Try Settings>iCloud>Calendars>On, the edit button should reappear.
    Message was edited by: The Huntress

  • Find all tables who don't have at least one DATE column

    DB version:10gR2
    Using user_tab_cols view, How can i find the tables who don't have at least one DATE(user_tab_cols.data_Type='DATE') column?

    SELECT table_name
      FROM user_tables
    WHERE table_name NOT IN  ( SELECT DISTINCT
                                      table_name
                                 FROM user_tab_cols
                                WHERE DATA_TYPE  = 'DATE'
                             );Regards
    Arun

  • Report based on fact tables that don't have the same dimensionality

    Hi all
    I want to combine in the same report different measures from different fact tables that doesn't have the same dimensionality,for example:
    measure 1 linked to dimensions : time geography and product
    measure 2 linked to dimensions : time and geography
    Currenctly when I create a report like:
    time----gepgraphy---product------measure 1-----measure 2 I don't have any data for measure2 because it's not linked to the product dimension.
    The exact report is year---store name---product area name----- store sales-----number of visitors : the number of vistors doesn't have any relation with the product dimension.
    Is there a way to create this kind of report??
    Regards

    Don't take this the wrong way guys, but I feel compelled to say this before the answers start coming in:
    This issue had been discussed already many times. Stijn, John, Kishore etc. have all answered this question for the one or the other user. This forum has a search functionality for a reason. To first look for information and then ask your question. Why wait - potentially - a couple of hours for an answer that's one search away?
    Seriously people. It's not like forums magically appeared in 2k7...they've been around for quite a while now and netiquette and common sense with regards to posting should become normal.
    Cheers,
    C.

  • How can you find out whether anything in a table's been selected?

    How can you find out is there anything(a cell or a row) in a table's been selected???
    it's doesn't matter which cell or which row's been selected in a table, but just to know is there anything been selected
    I can't figure out the code to do that >.<
    is there anything to do with
    bookTable.getCellEditor()?

    How can you find out is there anything(a cell or a row) in a table's been selected???
    it's doesn't matter which cell or which row's been selected in a table, but just to know is there anything been selected
    I can't figure out the code to do that >.<
    is there anything to do with
    bookTable.getCellEditor()?

  • How can I delete an app from launchpad, that doesn't have the little cross in the left top corner. The app isn't an App Store app. The application is also not present anymore in my application's folder in finder.

    How can I delete an app from launchpad, that doesn't have the little cross in the left top corner. The app isn't an App Store app. The application is also not present anymore in my application's folder in finder.
    I tried to use the attached command through TERMINAL :
    sqlite3 ~/Library/Application\ Support/Dock/*.db "DELETE from apps WHERE title='Help';" && killall Dock
    sqlite3: Error: too many options: "DELETE from apps WHERE title='Help';"
    Use -help for a list of options.
    But i didn't work as I got the above error message.
    best regards
    Jeroen

    I'm in the same boat as you -- except that I manage both a school lab (volunteer job) and macs in the enterprise (pay job).  What I think we need is the Education Volume Purchasing Program
    http://www.apple.com/education/volume-purchase-program/faq.html
    Unfortunately this all seems a little rough around the edges -- for example, I have found updates for AppStore apps on the support.apple.com updates download site, but then when I install them via ARD they don't actually update the software.  (The AppStore icons still show as needing the updates, and the version info reports the old version.)  The documentation is also vague about which AppleID to use in which circumstance.  I think they just haven't finished thinking through the implications of the various procedures and policies upon the various kinds of customers.  When we deployed Mountain Lion on the school lab, we made an install usb and went around and installed it on each computer -- and it appears that you are on the honor system as far as paying for all of the licenses that you install.  We did!  But they appear to have no way to enforce it.
    So far, I have only deployed 9 Lion macs in my day job, and our "solution" to the AppStore showing updates problem has been to drag the AppStore icon off of the users' docks so they don't see them!

  • How do you find out who did not contribute to a particular fund raiser that we all just did?

    Using MYsql How do you find out who did not contribute to a particular fund raiser that we all just did. There are many titles to the different charities that is under the othpaytitle of the Otherpay table,  I however just want to extract the non-contributors for a particular charity title. Is there anyway to do this? When I do the the syntax below it comes up as an "empty set". The search is done by way of the table Id matching and left joins. Please see below.
    SELECT  moiid, trim(concat(name.fname,' ' ,name.mname,' ',name.lname)) as Brother, name.moiid as Members_ID, sum(otherpay.othpayamt) as NO_Contribution, quadlt.ltfname as quad 
    FROM name 
    LEFT JOIN OTHERPAY  ON name.moiid = otherpay.othpaymoiid
    LEFT JOIN quadlt  ON name.quadlt = quadlt.ltid
    WHERE  Otherpay.othpaytitle like '%food drive%'
    AND otherpay.othpaymoiid IS NULL
    AND name.type = 'BOI'
    AND name.type <> 'jrboi'
    AND name.city = 'SUFFOLK'
    GROUP BY brother
    ORDER BY name.quadlt, brother

    Just guessing based on your query,  and assuming the above query works, just insert a "where" condition. I also removed the SUM function. Also, "AND otherpay.othpaymoiid IS NULL"  may not be needed.
    SELECT  moiid, trim(concat(name.fname,' ' ,name.mname,' ',name.lname)) as Brother, name.moiid as Members_ID, otherpay.othpayamt, quadlt.ltfname as quad
    FROM name 
    LEFT JOIN OTHERPAY  ON name.moiid = otherpay.othpaymoiid
    LEFT JOIN quadlt  ON name.quadlt = quadlt.ltid
    WHERE  Otherpay.othpaytitle like '%food drive%'
    AND otherpay.othpaymoiid IS NULL
    AND name.type = 'BOI'
    AND name.type <> 'jrboi'
    AND name.city = 'SUFFOLK'
    AND othpayamt=0
    ORDER BY name.quadlt, brother

  • HT1420 How do you find list of actual devices that are connected to your itunes account?  I'd like to know before deauthorizing, exactly what devices it is showing as connected

    How do you find list of actual devices that are connected to your itunes account?  I'd like to know before deauthorizing, exactly what devices it is showing as connected

    Click here and ask. If the iTunes Store staff doesn't give it to you, no.
    (86004)

Maybe you are looking for

  • Data upload from Tally to SAP R/3

    Dear All, there is a requirement to develop an Interface to upload data between  Tally and SAP R/3 which i never had done it can any one send me the sample in this regards Thank you Jaipal Reddy E

  • Drill down in Graphic Builder

    Hi, Can you drill down from a chart in the Graphic Builder to report in the Report Builder. If yes can someone please help? Thanks

  • I need a link to download CS5 Design Standard

    I need a link to download CS5 Design Standard.

  • Recovery of lost non-system datafile

    Hello All, I have simulated a test environment where I have remove one of the non-sys datafile. For this first I have took the full database backup including archivelog and then remove the datafile from OS level. After that I manually created that da

  • Password protected install files

    When scanning the installer, 52 of the 56 files are password protected and thus cannot be scanned. Wondering why this is so. Using Bitdefender for scanning.