A beginner delete question.

I want to delete a record from oracle database by comparing a string in a column.
delete from product where LINE1='any crap here ';
whats wrong with it?

There's nothing wrong with that... I'm using DB2, but I don't think that makes a difference....
Is the type of that column varchar? (you don't need the quotes if it's numeric) What error do you get?
Bea

Similar Messages

  • Beginner font questions

    These are some beginner font questions if someone has the time/patience.
    I've never paid much attention to fonts over the years, never installed
    any other than those that might have come with applications. Early on,
    15 years ago or so, I settled on Palatino and I've stayed with it for
    most docs (Word 5.1a and now Word vX) and often for other apps (Safari,
    Now).
    I just upgraded to Tiger (10.4.4) and I use Word vX.
    Questions:
    1. I gather from looking at Font Book that when I'm using Palatino in
    Tiger that OS X is getting it from my OS 9 System folder for Classic.
    It does not look like Palatino is in any other locations including MS
    Office vX. Does that make sense?
    2. I always thought that Palatino was a very basic, always available
    font. Not so?
    3. If I decide to stop using Classic, and I'm close to that time, can I
    transfer those fonts to OS X? If so, to which location is best.
    4. And are the same fonts used for printing and screen? In other words
    back in pre OS X days I thought some fonts came in screen versions and
    print versions but my memory is hazy on that. Not only that.
    Thank you for any education or links for info.
    Powerbook G4 Ti   Mac OS X (10.4.4)  

    1. I gather from looking at Font Book that when I'm
    using Palatino in
    Tiger that OS X is getting it from my OS 9 System
    folder for Classic.
    It does not look like Palatino is in any other
    locations including MS
    Office vX. Does that make sense?
    That's correct.
    2. I always thought that Palatino was a very basic,
    always available
    font. Not so?
    It seems to be out of favor.
    3. If I decide to stop using Classic, and I'm close
    to that time, can I
    transfer those fonts to OS X? If so, to which
    location is best.
    Yes, you can just put it in Users/username/Library/Fonts (or Library/Fonts for all users).

  • Deleted Questions Still display in Published Version

    After deleting a Question slide and inserting a new Quesion
    Slide, The deleted question still appears in the published version.
    In addition, the new Question will only display after completing
    the quiz and going back to review. It then displays as incomplete.
    Before republishing the presentation with the new Question, I
    deleted the old version of the presentation.
    I would appreciate any suggestions on how to resolve this!
    Thanks!

    Hi,
    1.) How do I delete the B version of reports in Q? (Open system is not an option)
    Use the T code RSZDELETE,  Choose the object version as 'B', it will delete all the queries which are saved as backup.
    Before that implement the correction program in the function module RSZ_X_COMPONENT_DELETE. The correction program is given in the SAp note 1097674
    2.) What can I do to ensure the Actual Cutover will have B version deleted as well (A,B,M)
    you can check in the same table RSRREPDIR with B as selection
    3.) Why is there a B version report? Apart from due to BI7 query conversion, any other reason?
    B version is a back up version.  For example, you have created a query in 3.x features and changed in 7.0 query designer so generally this can't be opened in 3.x query designer. But if you wanted to do same, you can overwrite the current version of the query with back version so that it can be opened in 3.x query designer, you will loose all the changes done with 7.0 designer.

  • Beginner's Questions

    As a really new beginner for BEx, I would like to ask you guys some basic questions.
    1) I have a problem with designing a query to serve our requirement.
    Fiscal Year       Accounting Num.        Amount          AVG(Amount)         
    2006                10001                         100                250
    2006                10002                         200                250
    2006                10003                         300                250
    2006                10004                         400                250
                           Total(AVG)                  250
    2006                10005                         300                350
    2006                10006                         400                350
                           Total(AVG)                  350
    What I want is the forth column, which is equal to the average value of amount in the third column. For example, in group 1 (Accounting Number 10001 - 10004), the average of 100 - 400 is 250. In the forth column, I want to get 250.How can I do this?
    2) How can I load a hierarchy from a text file in BI 7.0. I just see the option to maintain the hierarchy in BI, but I can't find the way to load the hierarchy from a text file.

    Hi,
    1.Create a formula or CKF which is equal to Amount. name it  AVG(Amount).
      right click AVG(Amount) in the query definition.select properties.select calculate  single value as 'Average of all values<>0'.
    i thnk this shld work!
    Regards
    Dhanya.

  • Save and delete question

    How to find out if there are other related records in another table.
    If there are other related record then delete is not allowed.
    For eample, Order has many items in it. 2 tables -Order Table and OrderItem table - one to many relationship.
    Then Can't delete a record in the order table if there are related record in the OrderItem table.
    I have 3 text fields. Enter data in it and then press the save button.
    It will save it to the database.
    how to force people to enter the data.
    That is, if they press save and if any of the 3 text fields is empty then
    show a message box saying need to fill in all text fields.
    How to find out if the text field is empty?
    How to save to multiple tables.
    That is, how to save the master table first then the detail tabes.
    For example, there is a order table and a orderItem table.
    When save button is clicked. must save to Order table first then to
    orderItem table.
    How to find out if the user is saving the data and that data already
    exists in database. So this is wrong. Can't have duplicate data.
    ----------------------------------------------

    For ur first question:
    use the transction to delete.if u found any of the conditions u mention rollback.seee the Connection class in jdbc API.normally its AtuoCommint true.so before starting transction setAutoCommit fasle.
    second question:
    in the saveButton action performed first check the textField.getText().equals("") for all the 3 textfields.if the condtions doesnt met popup optionpane.showdialog();
    if met just save it.
    3 rd question answer:
    this also same like first question.try to save in transaction.if anything happens wrong everything will be rollbacked.
    4th question:
    use unique in sql .u can set the 1 r more columns in table as unique key.
    for all these to work ur database shud support transactions....

  • Beginner SSL questions

    I am still very much a beginner and this is my first time trying to set SSL up. I am experiencing some issues and I am not really sure what to do. I hope this is the right forum to post this.
    When I go to https://xxxx.xxxxx.net/myContext my login index.jsp page displays however
    1.) In IE it's not showing the page as secured(no lock).
    2.) When I log in using valid credentials the url becomes http://xxxx.xxxxx.net:443/myContext/myServlet
    and the page I expect to display doesnt. It only displays this:
    3.) None of my stylesheets are being used.
    When I go to http://xxxx.xxxxx.net/myContext my login index.jsp page displays perfectly and I am able to log in and do see the expected page.
    Apparently I missed a step somewhere or just the obvious but how do I get my index.jsp to use SSL. Any help would really be appreciated. Thanks in advance
    Crystal
    SERVER.XML
    <Connector port="80"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="443" acceptCount="100"
    debug="0" connectionTimeout="20000"
    disableUploadTimeout="true" />
    <Connector port="443"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="true" disableUploadTimeout="true"
    acceptCount="100" debug="0" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS"
    keystoreFile=".IRRS_keystore" keystorePass="thepassword"/>
    STDOUT.LOG
    May 4, 2007 11:20:38 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-80
    May 4, 2007 11:20:39 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-443
    May 4, 2007 11:20:39 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1031 ms
    May 4, 2007 11:20:39 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    May 4, 2007 11:20:39 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.0
    May 4, 2007 11:20:39 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    May 4, 2007 11:20:40 AM org.apache.catalina.core.ApplicationContext log
    May 4, 2007 11:20:40 AM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-80
    May 4, 2007 11:20:40 AM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-443
    May 4, 2007 11:20:40 AM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    May 4, 2007 11:20:40 AM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/15  config=D:\Tomcat5\conf\jk2.properties
    May 4, 2007 11:20:40 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1313 ms

    Are you intentionally leaving a connector for port 80 open? If you don't need anything to be non-ssl enabled then you should comment out the port 80 connector and just have a connector for port 443. You should then be able to access any of your stuff via https://whatever/whathaveyou...
    [edit]
    this is an obvious question but you didn't mention it so just in case - you did create a self signed server certificate and import that into the keystore right? (or use a commercial certificate and import that and the CA chain into your trust store)
    Message was edited by:
    cjmose

  • Fluid Grid Layout - Beginner's Questions

    First, let me explain once again that I can't reply to my own threads because the "Reply" function isn't working in my browsers for some reason. (Thanks for your tips on my other questions, Ben Pleysier and Nancy O.)
    Anyway, I want to modify my websites so they work in mobile devices, and I now have my first Fluid Grid Layout up and running. However, there are some bugs I need to work out.
    I experimented with two or three fluid grids and just realized that they're very different for some reason. I think I inserted the wrong elements or inserted them in the wrong location.
    Does the HTML code below look OK? I understand that everything is supposed to be inside div.gridContainer, which begs the question why are the last two divs (div.fluid and div#div1) OUTSIDE div.gridContainer? Are these extraneous divs that I can delete?
    Am I supposed to have a div#page and div data-role="header"?
    It looks like all my actual content - including the footer? - should go inside div data-role="content", right? And am I going to have to apply class="fluid Paragraph" to every paragraph in my database tables?
    Some of the confusion may be because some of these unfamiliar elements (e.g. "data-role") may be HTML5, which I'm also just learning about.
    If anyone could post a link to a web page(s) using Dreamweaver's Fluid Grid Layout, so I can examine the source code, it would be really helpful. Thanks!
    <body>
    <div class="gridContainer clearfix">
      <div data-role="page" id="page">
        <div data-role="header">
        <?php require_once($BaseINC."/$MyPHP/inc/D/Shared/Body/Header.php"); ?>
        </div>
        <div data-role="content">CONTENT </div>
        <!--This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats--><br class="clearfloat">
        <header class="fluid Header">This is the content for Layout Header Tag "Header"</header>
        <p class="fluid Paragraph">This is the content for Layout P Tag "Paragraph"</p>
        <footer class="fluid Footer"><?php require_once($BaseINC."/$MyPHP/inc/D/Shared/Footer.php"); ?></footer>
      </div>
    </div>
    <!--Are div.fluid/DivBase and div#div1 supposed to be here, outside div.gradContainer? Can I delete them, or do they serve some purpose other than relaying information for getting started?-->
    <div class="fluid DivBase">This is the content for Layout Div Tag "DivBase"</div>
    <div id="div1" class="fluid">Use Insert Panel for additional Fluid Grid Layout Elements. Note: All Fluid Layout tags must be contained within the "gridContainer" div tag.</div>
    <!--I included some files that will be absolutely positioned near the top here.-->
    </body>
    </html>

    #1  Success with FGLayouts comes from experience.  I built 9 test layouts before I got an acceptable one.  A few tips.  Build Mobile first because that is what everything else is based on.  Then build Tablet & finally Desktop.  Do not tamper with code in FluidGrid.css or Boilerplate.css files.  Use a separate, external style sheet for your content styles.
    #2  Depends on whether or not you want the divs to fall outside your #gridContainer.  For example, let's say you want a 100% width header & footer that stretches the entire width of your page in all devices.  In that scenario, you would have to move <header> and <footer> tags above and below gridContainer div.  Otherwise, everything else needs to be inside the gridContainer in order to respond to the media queries.
    #3  APDivs will not work right in FluidGrid Layouts -- or any RWD for that matter -- so don't even go there.  
    Nancy O.

  • Launchpad deletion question mark on steam games and other apps

    Hello, when in launchpad some icons if double clicked have a question mark that appears than if you hold them down the jiggle and the black x appears unlike before you double clicked it what does this mean? As an example I created a desktop shorcut for a steam game and put the icon in launchpad than I dumped the icon on the desktop in the trash. When I tried to use the jiggly method to delete the launchpad icon no x appeared but when I double clicked it a question mark appeared and than the little black x? Has what I did damaged the game or app ina anyway?

    They may be in Users/your_name/Library/Application Support depending on how they were installed.

  • Ipad photo deleting question?

    Is it possible to delete more than one photo at a time from the ipad iphoto app? Is so, how do I do it?

    Good question for the iPad forum - I have an iPad 1 and there is no iPhoto App for it - did not know there was for the 2 either
    LN

  • Photo storage and delete questions

    Hello there,
    I have photoshop cs51 and bridge.  I also have a new version of lightroom (I tried but was unable to download and use the creative cloud versions so had to do separate).  My versions of PS and bridge will not open raw, so i'm using 90% LR and only bringing photos into PS when I need that little extra.  I'm fine doing it that way.  I'm having a huge issue with photo storage and have some questions I'm hoping someone can answer.  Obviosly I'm not very technical, so simple answers work best.
    I had LR for months before PS and bridge.  Bridge has imported many of my photos.  If I delete them from bridge, will they be deleted from my computer, or only bridge?  Would it be possible for me to delete the bridge program, as I don't use it?
    My one year old Mac is already full and running out of storage.  I've moved my LR catalogues over to a portable HD.  It's my understanding that it 'removes' those photos....but keeps a thumbnail in LR for me to see.  I can only access the photos when they portable HD is connected to my Mac.  However, there is still SO much space being taken up by my photo's.  I'm not sure why.  Should I remove the thumnails from LR?  Do they still take up  a lot of space?
    I have been unable to load new photo's due to this issue.  Any help is appreciated!  Thank you!

    Bridge does not, like Lightroom, import photos. If you delete an image in Bridge, you delete it from your computer. I don't think you can uninstall Bridge, it's probably part of the Photoshop install.
    You should move your photos to the external HD, not the LR catalogs. The catalogs don't take up much space, your photos do. (And, btw, there's no need to have several catalogs, one is usally enough.) But you can leave your catalogs on the external HD if you like.
    When you move you photos to the external HD, make sure to keep the original folder structure. If you have a parent folder containing all your photos, the move will be easier. LR will put a question mark on all your files and folder. If you have a parent folder, then right click it in LR, and direct LR to the new location on the external HD.

  • Sorry: Beginner's question....

    Hi everyone... a question about retrieving a file from my time capsule. I know how to enter the time machine, and display prior backups. How do I select a file or folder for backup? The instructions seem to suggest that just selecting will cause the restore of that folder or file? And what if I want to select more than one? Where do restored files go? (ie, where can I find them?) Thanks!

    from macoshints:
    Double-click on your backup drive, and you'll see a folder called Backups.backupdb. Double-click it and you'll see a folder with the name of your machine. Double-click that, and you'll see a bunch of folders named with dates and times. Double-click the one from which you want to restore the file(s), and double-click your way down through your startup disk name, then Users, then your username.
    You'll then see a package called username.sparsebundle. Double-click it, enter your login password, and a copy of your home directory will mount. You can drag files off of this copy -- just don't drag any files onto it or delete any files! After you are done, eject the mounted home directory to avoid confusion.

  • Beginner: some questions

    Hello all,
    I am just a beginner for EJB, and writing a simple example of EJB. Some questions confuse me.
    1.     about server
    I just use JDK1.3.1 and JSDKEE1.3, is it all right? Do I need another things, for instance, weblogic ( what is this?)?
    2.     about deployment
    I wrote some code( CMP) include: home interface, remote interface, implement class, and primary key. Now , deploy it? Use ��C:\j2sdkee1.3\bin\deploytool�� command, is it?
    I thought every EJB need a XML deployment descriptor, my question is: I write this by myself or use deploytool?
    3.     about datebase
    I notice some example use Cloudscape, is this database? Whether can I use another database, for instance, MS Access? If I can, how to access it in CMP, and what is the ��Database JNDI Name��( if I use MS Access) when I deploy using deploytool?
    4.     about direction
    if I finish coding, then compile, and deploy, now, is it OK? I mean, I should move some file to special direction? (I remember the .class file is placed in special direction when I use servlets. )(suppose: I work in C:\mybean. Every file in it)
    5.     I use JDK1.3.1 and JSDKEE1.3 to write a simple example, do I need anything else in order to achieve EJB?
    Thanks

    1. No you do not need anything other than J2SE 1.3.1 and J2EE SDK 1.3 J2EE SDK 1.3 includes a reference implementation that you can use to do pretty much everything that is J2EE platform standard.
    Products such as WebLogic, WebSphere are comercial implementations of J2EE platform specifications. And you would use them for commercial/production quality applications.
    See http://java.sun.com/j2ee/faq.html Especially the questions about using reference implementation.
    2. You as a developer write the deployment descriptor and the deployment engineer customizes it if required at deployment time.
    3. You can use JDBC-ODB driver to work with Microsoft Access databse.
    See http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html#996747
    4. No. The files go to the right place at deploy time.
    5. No. If you have J2SE 1.3.1 and J2EE SDK 1.3, you arealready on your way to achieving EJBs.

  • BlackBerry Curve 8330 Email Deletion Question

    Greetings and Salutations Black Berry People!
    I have a BlackBerry Curve 8330 and a question concerning it.
    My phone is currently connected to an exchange server that I sync with my phone. Is there a way to delete emails from my phone all at once, a mass purge of old emails under 1 condition: I don't want the emails on the exchange ( the old ones) to be deleted as well.
    I've set my phone to delete messages from my phone after 30 days but can I do what I said in the above paragraph now?
    Thanks a bunch!

    hello,
    in the messages application options, there is one to check delete on : handheld only.
    so that if you delete a message on your blackberry, it is not deleted on the server.
    in the messages list, you can hover on a date, hit menu key and select "delete prior". It will delete all messages that have a date before that date.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Beginner's question:  Using Time Machine with a WD External Drive

    Hello folks,
    Could someone help me with some basic questions?
    I have a MacBook with Mac OSX 10.5.5. It has Time Machine but I've never used it before. I've just obtained a Western Digital External Hard Drive which is Mac compatible but, I'm told, may not be formatted for Mac.
    1. If that's the case, how do I format it for Mac so that I can use it with my MacBook? Or can I just plug-and-play?
    2. Once ready to use, I'd like to use the external drive for two purposes: (a) to create back-up images of my entire computer using Time Machine, and (b) as a second drive where I can just drag-and-drop selected files when needed (e.g. so that I can put photos in a photo folder on my external instead of on my MacBook hard drive). Will my MacBook let me do this, or will using Time Machine effectively reserve the entire external hard drive for Time Machine and not allow my to drag-and-drop files?
    Thanks! And Happy New Year!

    Question 1:
    1. Launch Disk Utility (in your Applications/Utility folder.
    2. Click the "erase" tab
    3. Select your entire WD disk on the sidebar (the uppermost icon).
    4. Format: "Mac OS Extended (Journaled)"
    5. Name the Disk
    6. Click on "erase"
    Question 2:
    What is the size of your drive? If it is large enough you can partition it but Time Machine backup will "grow". So if it's important to you to save all backups you'll want to give it the whole disk. If not, you can partition the disk at the same time you format it.
    Follow the steps here. It will accomplish both Q1 & Q2.
    -mj
    Message was edited by: macjack

  • How to get and delete questionable mail without actually opening it first.

    I am new to Apple again, having bought my first Apple many years ago (an Apple 2C). Does anyone know if I can get mail and delete it without opening it first? If so, I am thinking it is somehow in Preferences but I cannot figure it out. I often get mail from unknown sources (left over from my PC days - ?able viruses on PC) that I don't wish to take the chance to open. In order to delete it, I have to open it first. Any thoughts?? Thanks in advance for your help.

    Actually, there is a risk in viewing certain messages, but only if you have enabled Preferences > Viewing > Display remote images in HTML messages — see How HTML Email Messages Relate to Unsolicited Commercial Email ("spam").
    As long as Display remote images in HTML messages is OFF and you don’t click on any hyperlink or image the message may contain, you can safely view any messages you receive in Mail.
    That said, there are at least three ways to select a message and delete it without displaying its contents:
    (1) You can hide the preview pane by dragging the separator bar between the message list and the preview pane to the bottom of the window, or by just double-clicking within the separator bar, so that the preview pane disappears and only the message list is visible. To make the preview pane visible again, drag the separator bar up from the bottom of the window, or just double-click on the separator bar again.
    (2) If you select the message with the mouse, the message is displayed in the preview pane when the mouse button is released, not when it’s pressed. This allows you to drag the message to the Trash or to any other mailbox without Mail trying to display its contents.
    (3) Ctrl-clicking on a message causes a contextual menu to appear, from which you can usually (but not always, don’t ask me why) choose Delete or Move To, before the contents of the message are displayed in the preview pane.

Maybe you are looking for