Help with Syntax

<soapenv:Envelope xmlns:soapenv=
"http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="urn:xxx/xx/ecbs/object/"
xmlns:quer="urn:xxx/xx/ecbs/object/Query">
<soapenv:Header/>
<soapenv:Body>
<ns:operation_Input>
<quer:ListOfContact pagesize="100" startrownum="0" recordcountneeded="True">
<quer:Contact searchspec="">
<quer:ModifiedDate></quer:ModifiedDate>
<quer:ContactFirstName>='xxx yyy'</quer:ContactFirstName>
</quer:Contact>
</quer:ListOfContact>
<ns:ViewMode>Organization</ns:ViewMode>
</ns:operation_Input>
</soapenv:Body>
</soapenv:Envelope>
I am using the above query in SOAP UI and I get expected results.I want to get the same results through Datastage.I get syntax error.Datastage is not taking the spaces.EX:If I give ContactFirstName='xxx' I get the results.But If I give ContactFirstName='xxx yyy' I get error.
Webservices_rec..XML_Input_14: com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception: <ns1:Fault xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP-ENV:Server</faultcode><faultstring>Error while processing argument urn:/crmondemand/xml/Contact/Query:ListOfContact for operation ContactQueryPage(SBL-EAI-04316)</faultstring><detail><siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault"><siebelf:logfilename>OnDemandServicesObjMgr_enu_175507.log</siebelf:logfilename><siebelf:errorstack><siebelf:error><siebelf:errorcode>(SBL-EAI-04316)</siebelf:errorcode><siebelf:errorsymbol/><siebelf:errormsg>Error while processing argument urn:/crmondemand/xml/Contact/Query:ListOfContact for operation ContactQueryPage(SBL-EAI-04316)</siebelf:errormsg></siebelf:error><siebelf:error><siebelf:errorcode>(SBL-EAI-04121)</siebelf:errorcode><siebelf:errorsymbol>IDS_EAI_ERR_INTOBJHIER_ATTR_UNKN</siebelf:errorsymbol><siebelf:errormsg>Field with XML tag &apos;null&apos; and XML Style of &apos;Attribute&apos; is not found in the definition of EAI Integration Component &apos;Contact&apos;(SBL-EAI-04121)</siebelf:errormsg></siebelf:error></siebelf:errorstack></siebelf:siebdetail></detail></ns1:Fault>
Please advice.

When you have single quotes within a phrase surrounded by single quotes, like:
you have to put an extra single quote in front of each of the inner single quotes like so:
Please see the demonstration below, in which the single quotes surrounding your date values and format strings have been doubled.
SCOTT@10gXE> CREATE TABLE names
  2    (forenames  VARCHAR2 (15),
  3       dob        DATE)
  4  /
Table created.
SCOTT@10gXE> INSERT INTO names
  2  VALUES ('John', TO_DATE ('01/01/1961', 'dd/mm/yyyy'))
  3  /
1 row created.
SCOTT@10gXE> BEGIN
  2    CTX_DDL.CREATE_INDEX_SET ('names_iset');
  3    CTX_DDL.ADD_INDEX ('names_iset', 'dob');
  4  END;
  5  /
PL/SQL procedure successfully completed.
SCOTT@10gXE> CREATE INDEX names_idx
  2  ON names (forenames)
  3  INDEXTYPE IS CTXSYS.CTXCAT
  4  PARAMETERS ('INDEX SET names_iset')
  5  /
Index created.
SCOTT@10gXE> -- reproduction of error:
SCOTT@10gXE> SELECT COUNT (FORENAMES)
  2  FROM   NAMES
  3  WHERE  CATSEARCH
  4             (FORENAMES,
  5              'JOHN',
  6              'DOB BETWEEN TO_DATE ('01/01/1960','dd/mm/yyyy')
  7                AND TO_DATE ('01/01/1962','dd/mm/yyyy')') > 0
  8  /
          'DOB BETWEEN TO_DATE ('01/01/1960','dd/mm/yyyy')
ERROR at line 6:
ORA-00907: missing right parenthesis
SCOTT@10gXE> -- correction:
SCOTT@10gXE> SELECT COUNT(FORENAMES)
  2  FROM   NAMES
  3  WHERE  CATSEARCH
  4             (FORENAMES,
  5              'JOHN',
  6              'DOB BETWEEN TO_DATE (''01/01/1960'',''dd/mm/yyyy'')
  7                AND TO_DATE (''01/01/1962'',''dd/mm/yyyy'')') > 0
  8  /
COUNT(FORENAMES)
               1
SCOTT@10gXE>

Similar Messages

  • Help with syntax: Adding pages JS CS3

    I'm fairly new to scripting and I'm trying to write a script to add pages, inserting one after each existing page. We're doing postcards using a 4-up data merge. On the back of each card is the data merge/address (again, 4 to a page). Since the merge doesn't work on alternating pages, we want to do the merge first, then add the face pages afterward.
    This is my code thus far:
    var myPages = app.activeDocument.pages;
    var myCounter = myPages.length-1;
    for (i = myCounter; i >= 0; i--){
    myPages.add(LocationOptions.AFTER)...;
    On the line "myPages.add(LocationOptions.AFTER)..." I have tried every combination I can think of based on the CS3 Object Model that comes with Extend Script. Every one except the right one.
    Many thanks for you help.
    -Tim

    Thanks, but I already knew that. This line from the ID Object model:
    Pages.add(at:LocationOptions, reference:any, withProperties:Object):Page
    would seem to imply that I can specify where to add pages. But I can't figure out how to make use of it.
    To further clarify what I'm want to do, using a deck of cards as an analogy: Say I'm starting with all red cards. I want to add a black card after each red so that when I'm finished and you flip thru the deck you alternate between red and black.
    -Tim

  • Help with MM_editCmd.CreateParameter insert syntax please

    In the past (I guess older ASP version maybe?), the
    automatically generated code that DW created using the "insert
    record" wizard allowed for easy editing and debugging within the
    SQL. I just installed CS3 and created a similar page and the code
    used to build the insert statement is quite different.
    Unfortunately, I'm not versed well enough in it yet!
    I can see how the SQL insert is being built:
    Set MM_editCmd = Server.CreateObject ("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_wp_STRING
    MM_editCmd.CommandText = "INSERT INTO test (FName, LName,
    Company, Email, BPhone, BFax, MPhone, Props, regDate, Password,
    MBroker, MBID, Status, ARID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
    MM_editCmd.Prepared = true
    ...and then it appears to uses some scripting functions to
    build the values and replace the ?'s in the CommandText line:
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param1", 202, 1, 255,
    Request.Form("FName")) ' adVarWChar
    What I'm struggling with is the values inside each Append
    line (202, 1, 255) and what the relate to AND more importantly, how
    I can insert my own variable here instead of the form field data.
    ex:
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param1", 202, 1, 255, StrMyStringValue)
    ' adVarWChar
    I need help with the syntax. Would it be different if the
    variable holds a number value vs. text (assuming the field it's
    being inserted into hold numbers)
    Also, i USED to be able to add a handly little Response.Write
    before the execute insert line that would write the SQL insert
    statement to the screen and stop so that I could SEE where the
    issues were. I've tried:
    Response.Write(MM_editCmd.Parameters)
    Response.Write(MM_editCmd.CommandText)
    Just can't get the SQL text to display. Is the SQL insert
    statement not stored as a variable that i can call?
    Thanks VERY much for any help!

    You can use the concatenate() function to build up your string, as you no doubt know.
    As far as the wildcard goes ... your intention must be to try to SET the call variable and later on test the call variable with an IF node. Is that right?
    You would be able to test parts of the string using the substr() function - which is based on character position. If that is a fixed value that you know, it's easy. If it's not, you can first use the find() function to locate something (like the "_9"), returning the position, and then use the substr() function to pull it off.
    Can you write some pseudo-code here to define exactly your intention? You can set up a dummy script and send a dummy call through using Call Tracer and watch the output to see how your code is working.
    Regards,
    Geoff

  • Help with Javascript/Calculations

    Hello,
    Have a building use policy for school.
    Need help with checkboxes and default values.  I can get javascript/math to work when I click check box.
    Someone wants to rent a room they check the rentRoom checkbox.  Then the enter how many rooms 1,2,3 etc..  The value for the rentRoom checkbox is $25.
    I can get it when the checkbox for rentRoom is selected the rentRoom.Total computes correctly.  However, what I want is when the form opens up a default value of $0.00 to be in there.  I also want if someone goes back and unchecks the rentRoom checkbox the value goes back to $0.00 not just blank.   Right now I am getting the error the value entered does not match the value of the field.  That is if I put the default value in options.  Basically, I can't seem to figure out the javascript code to get this to work.
    Am I asking for too much, can someone guide me to javascript to help me out.
    I have tried if/then statements and switch statements.  I just can't figure out how to get it to for lack of better a word - toggle back and forth.
    If this is not possible please tell me.  If it is too complicated tell me.  I am not using livecycle for this as we had a word document and I just used the find form fields.  I am also using Adobe Acrobat 8 Professional.
    Thanks

    Hello,
    Thanks that looks good.  I am still missing something but the calc doesn't work when I put in my variables.  I will work with it more but nothing happens.
    The one thing is I have the default value of the checkbox as 15 so don't know if that messes it up.
    Right now I get the default value of $0.00 all the time.  When I click on the check box on/off it doesn't do the calcs.
    sorry, any more input, what am i missing??
    I also changed the syntax error that was posted on your origianl post.  You had == 'Off" I changed that to 'Off'

  • Need Help with data type conversion

    Hello People,
    I am new to java, i need some help with data type conversion:
    I have variable(string) storing IP Address
    IPAddr="10.10.103.10"
    I have to call a library function which passes IP Address and does something and returns me a value.
    The problem I have is that external function call in this library excepts IP Address in form of a byte array.
    Here is the syntax for the function I am calling through my program
    int createDevice (byte[] ipAddress).
    now my problem is I don't know how to convert the string  IPAddr variable into a byte[] ipAddress to pass it through method.

    Class InetAddress has a method
    byte[]      getAddress() You can create an instance using the static method getByName() providing the IP address string as argument.

  • Help with Sort function in Terminal

    Hello all... this is my first post on here as I'm having some trouble with some Termianl commands. I'm trying to learn Terminal at the moment as it is but I would appreciate some help with this one....
    I'm trying to sort a rather large txt file into alphabetical order and also delete any duplicates. I've been using the following command in Terminal:
    sort -u words.txt > words1.txt
    but after a while I get the following error
    sort: string comparison failed: Illegal byte sequence
    sort: Set LC_ALL='C' to work around the problem.
    sort: The strings compared were `ariadnetr\345dens\r' and `ariadnetr\345ds\r'.
    What should my initial command be? What is Set LC_ALL='C'?
    Hope you guys can help?

    Various languages distinct sorting - collation - sequences. 
    The characters can and variously do sort differently, depending on what language is involved. 
    Languages here can include the written languages of humans, and a few settings associated with programming languages.  This is all part of what is known as internationalization and localization, and there are are various documents around on that topic.
    The LC_ALL environment variable sets all of the locale-related settings en-mass, including the collation sequence that is established via LC_COLLATE et al, and the sort tool is suggesting selecting the C language collation.
    Here, the tool is suggesting the following syntax:
    LC_ALL=C sort -u words.txt > words1.txt
    This can also be done by exporting the LC_ALL, but it's probably better to just do this locally before invoking the tool.
    Also look at the lines of text in question within the files, and confirm the character encoding of the file.
    Files can have different character encodings, and there's no reliable means to guess the encoding.  For some related information, see the file command:
    file words.txt
    ...and start reading some of the materials on internationalization and localization that are posted around the 'net. Here's Apple's top-level overview.
    In this case, it looks like there's an "odd" character and probably an å character on that line and apparently the Svenska ariadnetrådens. 
    Switching collation can help here, or - if the character is not necessary - removing it via tr or replacing it via sed can be equally effective solutions. 
    Given it appears to be Svenska, it might work better to switch to Svenska collation thanto  the suggested C collation.
    I think that's going to be sv_SE, which would make the command:
    LC_ALL=sv_SE sort -u words.txt > words1.txt
    This is all generic bash shell scripting stuff, and not specific to OS X.  If you haven't already seen them, the folks over at tldp have various guides including a bash guide for beginners, and an advanced bash scripting guide - both can be worth skimming.  They're not exactly the same as bash on OS X and some specific commands and switches can differ, and as bash versions can differ, but bash is quite similar across all the platforms.

  • Urgent Help with a my Cheap Greek Hotel!

    Thanks for your help with the pseudocode. I have got many errors with this program in the funtions. The code is below. Is there someone who can help me get my head around them?
    import Date;
    import Money;
    public class Hotel {
        private Room[] rooms = new Room[12];
        public Hotel() {
             for(int i = 0; i<rooms.length; i++){
                 rooms[i] = new Room(i+1,20);
        public static void main (String[]args)
         // public void bookIn(String guest, Date today)
         public void bookIn(String guest, Date today, int roomNumber)
            if (roomNumber < 1 || roomNumber > rooms.length){
                throw new Exception("Room numbers must be within 1-" + rooms.length);
            if (rooms[roomNumber-1].getRoomHolder() !=null){
                throw new Exception("Room " + roomNumber + " not available.");
            rooms[roomNumber-1].setRoomHolder(guest);
            rooms[roomNumber-1].setBookedIn(today);
         // fn to put a guest in ata a specified date
         public void bookOut (Date checkedIn, Date checkedOut)
            //In the date class you can probably check the Calendar class to find
            //out the syntax for subtracting dates
            int nightsStayed = checkedOut - checkedIn;
            //Now I'd have an array of Guest
            //objects, where the room number = the position in the
            //array.  When a guest checks in, you can set whatever
            //info. you need (check in date, guest name, etc.) and
              //set it back to null when a guest checks out.
              new Room[12][roomNumber] = null;
              //calculate the fee
            double price = getFee(nightsStayed);
            System.out.println("You owe: "+price);
         // public double bookOut(Date currentdate)
        }//end method
        public double bookOut (Date currentdate)
        // fn to empty the room and may be calculate & return the value of the bill
        public double getFee(int nightsStayed)
            double fee = (nightlyFee*nightsStayed);
            return fee;
            //end method
            //end class
    }The errors in this program are listed below`
    T:\Year 1\Programming Workshop\Assignment2\Assignment2\Hotel.java:31: cannot resolve symbol
    symbol  : method setRoomHolder  (java.lang.String)
    location: class Room
            rooms[RoomNumber-1].setRoomHolder(guest);
                 ^
    T:\Year 1\Programming Workshop\Assignment2\Assignment2\Hotel.java:32: cannot resolve symbol
    symbol  : method setBookedIn  (Date)
    location: class Room
            rooms[RoomNumber-1].setBookedIn(today);
                 ^
    T:\Year 1\Programming Workshop\Assignment2\Assignment2\Hotel.java:40: operator - cannot be applied to Date,Date
            int nightsStayed = checkedOut - checkedIn;
                                          ^
    T:\Year 1\Programming Workshop\Assignment2\Assignment2\Hotel.java:46: cannot resolve symbol
    symbol  : variable RoomNumber 
    location: class Hotel
              new Room[12][RoomNumber] = null;
                                 ^
    T:\Year 1\Programming Workshop\Assignment2\Assignment2\Hotel.java:46: unexpected type
    required: variable
    found   : value
              new Room[12][RoomNumber] = null;
                    ^
    T:\Year 1\Programming Workshop\Assignment2\Assignment2\Hotel.java:59: cannot resolve symbol
    symbol  : variable nightlyFee 
    location: class Hotel
            double fee = (nightlyFee*nightsStayed);
                          ^
    T:\Year 1\Programming Workshop\Assignment2\Assignment2\Room.java:36: cannot return a value from method whose result type is void
            return bookedIn;
                   ^
    7 errors
    *** Compiler reported errorsIs there anyone who can transfer my pseudocode into language specific java? I really need some help. Thanks.

    Thanks for your Help regarding methods. You managed to help me correct two errors. Which means i know have six. Thanks ever so much. The method setRoom Holder has been recognised aswell as the method setBookedIn.
    What did you mean by "I cannot use minus operators on dates?" Is there any other way that I can code this function so that it is acceptable?
    int nightsStayed = bookedOut - bookedIn;
    Can you help me code these last four functions please? Then my program will have no errors. I have to get rid of six.
    // public void bookIn(String guest, Date today)
         public void bookIn(String guest, Date today, int RoomNumber)
            if (RoomNumber < 1 || RoomNumber > rooms.length){
                throw new Exception("Room numbers must be within 1-" + rooms.length);
            if (rooms[RoomNumber-1].getRoomHolder() !=null){
                throw new Exception("Room " + RoomNumber + " not available.");
            rooms[RoomNumber-1].setRoomHolder(guest);
            rooms[RoomNumber-1].setBookedIn(today);
         // fn to put a guest in ata a specified date
         public void bookOut (Date bookedIn, Date bookedOut)
            //In the date class you can probably check the Calendar class to find
            //out the syntax for subtracting dates
            int nightsStayed = bookedOut - bookedIn;
            //Now I'd have an array of Guest
            //objects, where the room number = the position in the
            //array.  When a guest checks in, you can set whatever
            //info. you need (check in date, guest name, etc.) and
              //set it back to null when a guest checks out.
              new Room[12][RoomNumber] = null;
              //calculate the fee
            double price = getFee(nightsStayed);
            DerbyIO.getString("You owe: "+price);
         // public double bookOut(Date currentdate)
        }//end method
        public double bookOut (Date currentdate)
        // fn to empty the room and may be calculate & return the value of the bill
        public double getFee(int nightsStayed)
            double fee = (nightlyFee*nightsStayed);
            return fee;
            //end method
            //end class
    }

  • [CS3 JS] Help with adding textMacros

    I can get a textMacro added with the following.
    app.textMacros.add("myName", "this is some text")
    What I am having trouble with is having the Remember Text Attributes be grabed or set to true.
    Any one know what the syntax is for setting this during the add()
    also how do you insert a macro via a javascript?
    Mahalo
    David

    These forums are pointless. Adobe must believe that other users will cut the mustard. Absolutely a waste of effort for everyone. Adobe should PAY at least a junior developer involved in the projects to monitor and help with these posts. FLEX rules yeah and thousands more do scripting than develop plug ins...
    Come on Adobe, step up your better than this. Customer Service can be free to the customers ... we are not talking about GET IT ALL FREE, talking about buy it and create a community and support it, but then again LAYERS and INDESIGN SECRETS have people who actually want to help users rather than rabbit hole everything.
    Please join hands and SING...

  • Help with Errors please!

    Hi, I'm building a Flash website.
    I've used frames with names to contain the different 'pages'
    of the site. On the frame called 'SVHS1' I've built an XML mp3
    player with buttons and a volume slider.
    I'm having a couple of problems with this section of the
    site.
    Firstly: when I 'test movie' and navigate to the mp3 player
    section it all works fine, the mp3s load correctly, the playback
    controls work fine, and the volume slider does what it's supposed
    to do. But if I've used the volume slider to adjust the volume (and
    only then) and then navigate to the next frame 'SVHS2' (or any
    frames that are later in the main timeline) I get multiple
    occurrences of the following error in the output pane:
    TypeError: Error #1009: Cannot access a property or method
    of a null object reference.
    At PSPWebsite1_fla::MainTimeline/adjustVolume()
    I understand (from reading other posts/help etc.) in
    principle what is causing this, but my knowledge of AS3 is too
    limited to know exactly what is wrong with my script or how to fix
    it.
    Secondly: if I press the stop button on my mp3 player and
    then navigate to another frame (any frame before or after
    ‘SVHS1’) the site works fine, and the mp3 player works
    perfectly if I go to that frame again. But if I navigate to another
    frame without first stopping the song it continues to play even
    though I’m not on the mp3 player frame, and if I go back to
    the mp3 player before the song has finished it starts playing
    automatically from the beginning of the first song in the XML list
    again and simply doubles up the sound, which is horrible. When this
    happens the playback controls only affect the 2nd version
    (understandably).
    I think this is probably quite simple to fix, assuming that I
    have to write some script that tells the mp3 player to stop playing
    if/when the user navigates away from that frame...but I don’t
    know how to do this.
    Any help with either of the above would be much appreciated.
    The attached script is for the mp3 player frame.

    You can consider the trace function as being a "can you hear
    me now" helper (instead of an annoying tv commercial gimmick). It
    displays whatever it's told to in the same output window that you
    see that error message come up in. There are two ways I'll usually
    use it.
    I'll often end up simply using a trace("here"); as a means of
    seeing where a process is getting hung up. I gradually move that
    line of code thru what I know to be the step by step sequence of
    the code until "here" no longer shows up. It normally indicates
    that the preceding line of code is where the ball got dropped.
    In AS3, which is often a little more helpful when it trips on
    something, such as the error message you received which tells you
    there's a problem in the adjustVolume function, you can use it to
    see what element in that function is either undefined or out of
    scope.
    Place... trace(vol); ... just after the first line of code in
    that function to see if vol is a number. If it is, then you know
    that line is okay and you can move on to check the next line. If it
    isn't a number, then move the trace before that line and change it
    to... trace(volume_mc.slider_mc.x); ... and see if it is a value.
    If it isn't, then change the trace to check to see what
    trace(volume_mc); results in.... so on and so on.
    It's basically a process of working your way thru code to
    narrow down what piece is the undefined/out-of-scope (or a syntax
    error) element that is causing the problem.

  • Help with systemd problems/reply to closed thread

    @Everyone; as the previopus topic was closed, I am opening a new one here, partly to reply to some things that was said to me in the previous thread/topic (and I do not like to leave people hanging), but mainly to try and get some help with my systemd config (that I was not able to find help with in the wiki or manpages).
    @czubek; eww, that sounds rather similiar to some other operating systems I've heard of (not just, but obviously including, windows)... For me, subjectively, that is not very attractive, as being able to have a single application do a single thing, and then mixing and matching as I personally see fit is a great thing.
    @tomegun: I can indeed see your point, but if I made direct quotes on all the things I reply too, my posts would reach biblical proportions.
    Mmm-hmm, I do indeed know of "the Arch Way"; however, the system that you expose can be of varying complexity as well, and I found that the system that was presented to me by way of Sysvinit/initscripts was a way simpler system than that presented to me by systemd.
    Indeed, and I do like that; I enjoy knowing how my system works and learning more about it; however, the truth is that reading manpages and the wiki isn't always enough. And I use the numbers instead of letters in certain places as a jest, please, do not get offended by that; if you have to, get offended by my opinions.
    Ah, I have now scanned the wiki, the manpages, and have already faced problems. While part of me is saddened by this fact (as I was hoping for a smooth transition to systemd), part of me is glad that I can at least prove that everything isn't quite as simple as some people would make it out to be. More on this later in this post, as I do need help with the problems I have faced.
    And I wouldn't say that the new and old way are equally trivial, as I immediatley faced problems with "the new way". More on this later.
    Ok, I find that if the debate is polarized, then there is nothing wrong with describing it as such. I spell what I see.
    Oh my... Ignored as a matter of principle? I would say that that is an excellent way to stagnate; by that logic, moviemakers, gamemakers etcetera should ignore any and all criticism they recieve, as the critics are not contributing.... Wouldn't that lead to a complete halt in development? Isn't criticism (so long as it is constructive, obviously) a key component of (media/software) evolution?
    Ah, I see, then I  misunderstood the current state of the install media
    "Some adjustements"... Well, I guess we'll have to see how that goes, then. Hopefully it'll be smooth.
    @Everyone; Awebb possesses stunning accuracy as far as his observations go.
    @zb3; My point exactly.
    @tomegun; I believe you to be wrong; complaining (but not whining) is the first step towards improvement, as I think that I and zb3 has shown.
    Further, your last point (where you talk about "deep understanding of Y" and whatnot) is basically saying that only devs and programmers can contribute, so zb3's observation would be correct.
    Also, making suggestions is part of constructive criticism; you can do that even if you can't code, e.g. by saying "X works badly because it makes Y crash; couldn't we replace X with something akin to Z?". This is a valid point even if you have no intricate understanding of X, Y or Z, and if it is impossible to replace X for one reason or the other, it's not hard to reply with "Replacing X is impossible because of reason Q", and then see if someone can solve reason Q etcetera.
    zb3's example is obviously helping; for one, it would allow people to know taht they can't boot with systemd in certain cases, or that installing/runing systemd can break their system. I would consider that rather important information.
    @Everyone; Now then, to see if I can (or rather, if I can get help to) shed some light on some problems I've been having.
    My transition to systemd went pretty smooth (besides the fact that I couldn't use 'systemctl' to set anything, and neither duckduckgo nor any posts in the forums could help me (the error I continously got was "Failed to issue method call: Launch helper exited with unknown return code 1") and that there are no manpages/tips on how to configure the files for "localtime" and "adjtime", which would've been good considering some syntax have changed) to about halfway through, to the point where I was supposed to start using systemd for my daemons.
    Now then, to the main problem; first, I tried running
    "systemctl enable syslog-ng.service"
    and got the following message;
    "ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/syslog.service'
    ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/multi-user.target.wants/syslog-ng.service'"
    Since it doesn't exclusively say that something went wrong (at least as far as I can understand), I pondered the message a bit, but moved on to try and start dbus by issuing
    "systemctl enable dbus.service",
    to which I got the reply
    "The unit files have no [Install] section. They are not meant to be enabled using systemctl."
    This I can only assume is an error message of some sort, especially seeing as it says "not meant to be enabled using systemctl", but the wiki rather explicitly states that that is what I am supposed to do.
    I dare not move on (or attempt to start other daemons) without further advice, as I fear I might break my system. Any ideas as to how to solve this would be greatly appreciated.

    tcmdvm wrote:
    The message;
    "ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/syslog.service'
    ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/multi-user.target.wants/syslog-ng.service'"
    indicates that running "systemctl enable syslog.service" is now enabled.
    If you try running sytemtctl enable <whatever>.service and get
    "The unit files have no [Install] section. They are not meant to be enabled using systemctl." means there is no <whatever>.service file available to enable.
    The dbus.service as far as I know is already enabled when installing systemd and doesn't require any action.
    Ah, right, systemd is chatty (I'm of the old skool; if nothing is/goes wrong, a program should keep quiet).
    Oh ok, then I should dare more on.
    ZekeSulastin wrote:To be a bit more precise, it means the service is there but it's only used as a dependency for something else; the [Install] section of the file is what tells systemctl where to link it and such.  Also, where exactly in the wiki were you told explicitly to 'systemctl enable dbus.service'?  I can easily point you to the sections in both installation guides that tell you how to set things like /etc/localtime et. al (also `man 7 archlinux`), but not the one that said to manually enable dbus.
    Ah, I see; and well, I was told right here, going from the top, to "Enable Daemons formerly listed in rc.conf [...] For a translation of the daemons from /etc/rc.conf to systemd services, see: List of Daemons and Services.", and, using the list, dbus is mentioned there, as you can see. Since I started from the top, I did not know that you didn't need to enable that service. Perhaps it could be added to the descriptions of the relevant services in the Wiki which ones are autostarted?
    ZekeSulastin wrote:Lastly, I don't think trying to continue conversations from a closed thread is a very good idea, let alone doing it in a giant undivided wall of text that makes it quite difficult to pick out much any single topic.
    Meh, I directly refer to the relevant people, they can easily see their own old posts in the previous thread, etcetera... I think te ones who have something to say will be able to find my replies to their previous statements (or so I hope). For now, as everyone can see, I quote stuff (but man might I make some huge posts if I ever post again in the future, if I quote what I reply to).
    fsckd wrote:This is not really a technical support subforum. Moving from Arch Discussion to Newbie Corner.
    Ah ok, thanks (or perhaps a cautious thanks? Moving it to "newbie corner" might, after all, be a subtle insult...).
    tomegun wrote:It is not really possible to follow your message as you don't quote what you are replying to. Moreover, as the thread was closed I think that means we should stop the discussion ;-)
    Hmm, I think it means cop-out for lack or proper arguments/responses... But ok, I'll let it slide, for now (mainly as I can't do much else).
    tomegun wrote:You are not meant to enable dbus.service as it is enabled unconditionally. To check the enabled/disabled state of your services try "systemctl list-unit-files". "static" means that you are not supposed to enabled/disable it.
    Ah ok, thank you. Now, having abandoned all hope, I'll start configuring again and see how it goes... May the void protect me. If I die, grieve not for me, but remember me in the fight against hard-to-configure applications.
    (edit/addon)
    Actually, what am I supposed to do with "hwclock"? the List of Daemons only says that I shouldn't run that in tandem with ntpd, but I'm not running ntpd, so... How do I get hwclock with systemd?
    Edited for additional question.
    Last edited by incassum (2012-11-07 08:44:42)

  • Help with get-aduser -filter command

    Hi! I'm having problems with getting user info from displayname
    function searchuzv {
    $uzvinfo=$InputBoxuzv.text;
    $uzvcheck = Get-ADUser -filter "DisplayName -like '*$uzvinfo*'"
    If i run Get-ADUser -filter "DisplayName -like '*$uzvinfo*'" line separately, everything is ok, and working, but when I run function, I m getting error "Get-ADUser : The search filter cannot be recognized"
    My objective is get user info when only part of displayname is provided.
    I suppose there is problem with syntax, but I can't find anything about this.
    Any suggestions?
    Bert regards,
    Ronald

    Hi Ronald,
    Try this.
    function searchuzv
    $uzvinfo=$InputBoxuzv.text
    $uzvDisp = "*"+$uzvinfo+"*"
    $uzvcheck = Get-ADUser -filter "DisplayName -like $uzvDisp"
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Powerbook with Syntax Olevia 23-inch LCD TV Monitor

    Hi there,
    I got a 23-inch LCD TV Monitor from Syntax Olevia and somehow it doenst work with my powerbook.
    The thing is when I connected it to my windows laptop, it worked just fine, I should say perfectly instead. Then I tried it on my Powerbook 12-inch, the Mac recognized the display, there was a VGA display on but when I turned the display on, it says 'NO PC SIGNAL'. You know, I'm ****** !
    I have been on the phone with Syntax Tech Support for an hour, then with Apple for another hour, they suggested me to do everything try to get it works, everything they could find, everything within thier knownledge.... COULDNT CHANGE ANYTHING!
    So the last thing the Apple guy suggested me is post a topic question here, to see what everyone says and if somebody out there has got the same problem, please do reply so, even you got it worked or not, just reply so I can have some experience. It might be compatibility problem but I don't know, not with a monitor I would say.
    So here the LCD name and brand:
    - Olevia 23-inch LT23HVX by Syntax.
    I would appreciate for any answer, I'm looking forward to it.
    Thanks all
    Powerbook G4 12' Mac OS X (10.4.5)

    Hi,
    I'm not familiar with that monitor, but its resolution might be higher than your PowerBook can handle. I have a first-generation 12-inch PowerBook, and it seems that it can't run any of the Apple Studio monitors currently being sold. If that monitor can display a resolution of 1024 x 768, try that, as your PowerBook can certainly handle that resolution. Another thing to try is to see if you can find a friend or coworker who has a similar PowerBook (or any other Mac), so you can try connecting the monitor to that machine to see if there is a similar problem. If no Mac can drive it, you would probably have a good excuse for returning the monitor.
    Hope this helps,
    Ken

  • [8i] Need help with some workday calculations

    At the beginning of the month, I got help with a workday calculation in: [8i] Help with function with parameters (for workday calculation)
    Now, as it turns out, I was able to locate a function in the database that does what I want, however, it is much slower to use the function than to join two copies of the CALN table (Please see referenced thread for details. I can copy them to this thread if necessary.) I need to verify that the pre-existing function has 'DETERMINISTIC' in it, as I would guess that if it doesn't, it would be much slower than it could be.
    But now, I've come across a situation where I have to do multiple workday calculations in the same query--enough that I have to join 6 copies of my CALN table. I can't imagine that is at all efficient. I believe it was Frank K. who said (in the original thread) that if the function was slow, I should consider alternatives. Can anyone help me identify some of those alternatives? I'm definitely at that point now. (This query is one I'm using as the base for a report in Oracle BI, and let's just say it doesn't like my query, even though my syntax appears to be correct, and I would guess that joining 6 copies of one table is at least partly to blame for this).
    Note: I'm working with Oracle 8i

    OK, I finally have some sample data... I tried to make it thorough. I've included data in the CALN table YTD + tomorrow, so that any workday calculations using SYSDATE will work.
    CREATE TABLE caln
    (     clndr_dt     DATE          NOT NULL
    ,     clndr_yr     NUMBER
    ,     shop_day     NUMBER
    ,     shop_dt          DATE
    ,     shop_wk          NUMBER
    ,     shop_yr          NUMBER
    ,     shop_days     NUMBER
    ,     clndr_days     NUMBER
         CONSTRAINT caln_pk PRIMARY KEY (clndr_dt)
    INSERT INTO     caln
    VALUES (To_Date('12/23/2009','mm/dd/yyyy'),2009,247,To_Date('12/23/2009','mm/dd/yyyy'),51,2009,7631,10950);
    INSERT INTO     caln
    VALUES (To_Date('01/01/2010','mm/dd/yyyy'),2010,0,To_Date('12/23/2009','mm/dd/yyyy'),52,2009,7631,10959);
    INSERT INTO     caln
    VALUES (To_Date('01/02/2010','mm/dd/yyyy'),2010,0,To_Date('12/23/2009','mm/dd/yyyy'),52,2009,7631,10960);
    INSERT INTO     caln
    VALUES (To_Date('01/03/2010','mm/dd/yyyy'),2010,0,To_Date('12/23/2009','mm/dd/yyyy'),1,2010,7631,10961);
    INSERT INTO     caln
    VALUES (To_Date('01/04/2010','mm/dd/yyyy'),2010,1,To_Date('01/04/2010','mm/dd/yyyy'),1,2010,7632,10962);
    INSERT INTO     caln
    VALUES (To_Date('01/05/2010','mm/dd/yyyy'),2010,2,To_Date('01/05/2010','mm/dd/yyyy'),1,2010,7633,10963);
    INSERT INTO     caln
    VALUES (To_Date('01/06/2010','mm/dd/yyyy'),2010,3,To_Date('01/06/2010','mm/dd/yyyy'),1,2010,7634,10964);
    INSERT INTO     caln
    VALUES (To_Date('01/07/2010','mm/dd/yyyy'),2010,4,To_Date('01/07/2010','mm/dd/yyyy'),1,2010,7635,10965);
    INSERT INTO     caln
    VALUES (To_Date('01/08/2010','mm/dd/yyyy'),2010,5,To_Date('01/08/2010','mm/dd/yyyy'),1,2010,7636,10966);
    INSERT INTO     caln
    VALUES (To_Date('01/09/2010','mm/dd/yyyy'),2010,0,To_Date('01/08/2010','mm/dd/yyyy'),1,2010,7636,10967);
    INSERT INTO     caln
    VALUES (To_Date('01/10/2010','mm/dd/yyyy'),2010,0,To_Date('01/08/2010','mm/dd/yyyy'),2,2010,7636,10968);
    INSERT INTO     caln
    VALUES (To_Date('01/11/2010','mm/dd/yyyy'),2010,6,To_Date('01/11/2010','mm/dd/yyyy'),2,2010,7637,10969);
    INSERT INTO     caln
    VALUES (To_Date('01/12/2010','mm/dd/yyyy'),2010,7,To_Date('01/12/2010','mm/dd/yyyy'),2,2010,7638,10970);
    INSERT INTO     caln
    VALUES (To_Date('01/13/2010','mm/dd/yyyy'),2010,8,To_Date('01/13/2010','mm/dd/yyyy'),2,2010,7639,10971);
    INSERT INTO     caln
    VALUES (To_Date('01/14/2010','mm/dd/yyyy'),2010,9,To_Date('01/14/2010','mm/dd/yyyy'),2,2010,7640,10972);
    INSERT INTO     caln
    VALUES (To_Date('01/15/2010','mm/dd/yyyy'),2010,10,To_Date('01/15/2010','mm/dd/yyyy'),2,2010,7641,10973);
    INSERT INTO     caln
    VALUES (To_Date('01/16/2010','mm/dd/yyyy'),2010,0,To_Date('01/15/2010','mm/dd/yyyy'),2,2010,7641,10974);
    INSERT INTO     caln
    VALUES (To_Date('01/17/2010','mm/dd/yyyy'),2010,0,To_Date('01/15/2010','mm/dd/yyyy'),3,2010,7641,10975);
    INSERT INTO     caln
    VALUES (To_Date('01/18/2010','mm/dd/yyyy'),2010,11,To_Date('01/18/2010','mm/dd/yyyy'),3,2010,7642,10976);
    INSERT INTO     caln
    VALUES (To_Date('01/19/2010','mm/dd/yyyy'),2010,12,To_Date('01/19/2010','mm/dd/yyyy'),3,2010,7643,10977);
    INSERT INTO     caln
    VALUES (To_Date('01/20/2010','mm/dd/yyyy'),2010,13,To_Date('01/20/2010','mm/dd/yyyy'),3,2010,7644,10978);
    INSERT INTO     caln
    VALUES (To_Date('01/21/2010','mm/dd/yyyy'),2010,14,To_Date('01/21/2010','mm/dd/yyyy'),3,2010,7645,10979);
    INSERT INTO     caln
    VALUES (To_Date('01/22/2010','mm/dd/yyyy'),2010,15,To_Date('01/22/2010','mm/dd/yyyy'),3,2010,7646,10980);
    INSERT INTO     caln
    VALUES (To_Date('01/23/2010','mm/dd/yyyy'),2010,0,To_Date('01/22/2010','mm/dd/yyyy'),3,2010,7646,10981);
    INSERT INTO     caln
    VALUES (To_Date('01/24/2010','mm/dd/yyyy'),2010,0,To_Date('01/22/2010','mm/dd/yyyy'),4,2010,7646,10982);
    INSERT INTO     caln
    VALUES (To_Date('01/25/2010','mm/dd/yyyy'),2010,16,To_Date('01/25/2010','mm/dd/yyyy'),4,2010,7647,10983);
    INSERT INTO     caln
    VALUES (To_Date('01/26/2010','mm/dd/yyyy'),2010,17,To_Date('01/26/2010','mm/dd/yyyy'),4,2010,7648,10984);
    INSERT INTO     caln
    VALUES (To_Date('01/27/2010','mm/dd/yyyy'),2010,18,To_Date('01/27/2010','mm/dd/yyyy'),4,2010,7649,10985);
    INSERT INTO     caln
    VALUES (To_Date('01/28/2010','mm/dd/yyyy'),2010,19,To_Date('01/28/2010','mm/dd/yyyy'),4,2010,7650,10986);
    INSERT INTO     caln
    VALUES (To_Date('01/29/2010','mm/dd/yyyy'),2010,20,To_Date('01/29/2010','mm/dd/yyyy'),4,2010,7651,10987);
    INSERT INTO     caln
    VALUES (To_Date('01/30/2010','mm/dd/yyyy'),2010,0,To_Date('01/29/2010','mm/dd/yyyy'),4,2010,7651,10988);
    INSERT INTO     caln
    VALUES (To_Date('01/31/2010','mm/dd/yyyy'),2010,0,To_Date('01/29/2010','mm/dd/yyyy'),5,2010,7651,10989);
    INSERT INTO     caln
    VALUES (To_Date('02/01/2010','mm/dd/yyyy'),2010,21,To_Date('02/01/2010','mm/dd/yyyy'),5,2010,7652,10990);
    INSERT INTO     caln
    VALUES (To_Date('02/02/2010','mm/dd/yyyy'),2010,22,To_Date('02/02/2010','mm/dd/yyyy'),5,2010,7653,10991);
    INSERT INTO     caln
    VALUES (To_Date('02/03/2010','mm/dd/yyyy'),2010,23,To_Date('02/03/2010','mm/dd/yyyy'),5,2010,7654,10992);
    INSERT INTO     caln
    VALUES (To_Date('02/04/2010','mm/dd/yyyy'),2010,24,To_Date('02/04/2010','mm/dd/yyyy'),5,2010,7655,10993);
    INSERT INTO     caln
    VALUES (To_Date('02/05/2010','mm/dd/yyyy'),2010,25,To_Date('02/05/2010','mm/dd/yyyy'),5,2010,7656,10994);
    INSERT INTO     caln
    VALUES (To_Date('02/06/2010','mm/dd/yyyy'),2010,0,To_Date('02/05/2010','mm/dd/yyyy'),5,2010,7656,10995);
    INSERT INTO     caln
    VALUES (To_Date('02/07/2010','mm/dd/yyyy'),2010,0,To_Date('02/05/2010','mm/dd/yyyy'),6,2010,7656,10996);
    INSERT INTO     caln
    VALUES (To_Date('02/08/2010','mm/dd/yyyy'),2010,26,To_Date('02/08/2010','mm/dd/yyyy'),6,2010,7657,10997);
    INSERT INTO     caln
    VALUES (To_Date('02/09/2010','mm/dd/yyyy'),2010,27,To_Date('02/09/2010','mm/dd/yyyy'),6,2010,7658,10998);
    INSERT INTO     caln
    VALUES (To_Date('02/10/2010','mm/dd/yyyy'),2010,28,To_Date('02/10/2010','mm/dd/yyyy'),6,2010,7659,10999);
    INSERT INTO     caln
    VALUES (To_Date('02/11/2010','mm/dd/yyyy'),2010,29,To_Date('02/11/2010','mm/dd/yyyy'),6,2010,7660,11000);
    INSERT INTO     caln
    VALUES (To_Date('02/12/2010','mm/dd/yyyy'),2010,30,To_Date('02/12/2010','mm/dd/yyyy'),6,2010,7661,11001);
    INSERT INTO     caln
    VALUES (To_Date('02/13/2010','mm/dd/yyyy'),2010,0,To_Date('02/12/2010','mm/dd/yyyy'),6,2010,7661,11002);
    INSERT INTO     caln
    VALUES (To_Date('02/14/2010','mm/dd/yyyy'),2010,0,To_Date('02/12/2010','mm/dd/yyyy'),7,2010,7661,11003);
    INSERT INTO     caln
    VALUES (To_Date('02/15/2010','mm/dd/yyyy'),2010,31,To_Date('02/15/2010','mm/dd/yyyy'),7,2010,7662,11004);
    INSERT INTO     caln
    VALUES (To_Date('02/16/2010','mm/dd/yyyy'),2010,32,To_Date('02/16/2010','mm/dd/yyyy'),7,2010,7663,11005);
    INSERT INTO     caln
    VALUES (To_Date('02/17/2010','mm/dd/yyyy'),2010,33,To_Date('02/17/2010','mm/dd/yyyy'),7,2010,7664,11006);
    INSERT INTO     caln
    VALUES (To_Date('02/18/2010','mm/dd/yyyy'),2010,34,To_Date('02/18/2010','mm/dd/yyyy'),7,2010,7665,11007);
    INSERT INTO     caln
    VALUES (To_Date('02/19/2010','mm/dd/yyyy'),2010,35,To_Date('02/19/2010','mm/dd/yyyy'),7,2010,7666,11008);
    INSERT INTO     caln
    VALUES (To_Date('02/20/2010','mm/dd/yyyy'),2010,0,To_Date('02/19/2010','mm/dd/yyyy'),7,2010,7666,11009);
    CREATE TABLE ords
    (     ord_nbr          NUMBER          NOT NULL
    ,     sub_nbr          NUMBER          NOT NULL
    ,     ord_stat     VARCHAR2(2)
    ,     ord_qty          NUMBER
    ,     part_nbr     VARCHAR2(5)
         CONSTRAINT ords_pk PRIMARY KEY (ord_nbr, sub_nbr)
    INSERT INTO     ords
    VALUES (1,1,'CL',10,'PART1');
    INSERT INTO     ords
    VALUES (1,2,'CL',5,'PART1');
    INSERT INTO     ords
    VALUES (25,1,'CL',15,'PART2');
    INSERT INTO     ords
    VALUES (14,1,'OP',12,'PART3');
    INSERT INTO     ords
    VALUES (33,1,'CL',25,'PART1');
    INSERT INTO     ords
    VALUES (33,2,'CL',15,'PART1');
    INSERT INTO     ords
    VALUES (33,3,'OP',10,'PART1');
    INSERT INTO     ords
    VALUES (7,1,'PL',18,'PART2');
    INSERT INTO     ords
    VALUES (96,1,'PL',10,'PART3');
    INSERT INTO     ords
    VALUES (31,1,'CL',20,'PART2');
    CREATE TABLE oops
    (     ord_nbr          NUMBER          NOT NULL
    ,     sub_nbr          NUMBER          NOT NULL
    ,     op_nbr          VARCHAR2(4)     NOT NULL
    ,     mach_id          VARCHAR2(4)
    ,     oper_stat     VARCHAR2(2)
    ,     plan_start_dt     DATE
    ,     plsu          NUMBER
    ,     plrn          NUMBER
         CONSTRAINT ords_pk PRIMARY KEY (ord_nbr, sub_nbr, op_nbr)
    -- NOTE:
    -- for the orders with a status of 'CL' or 'PL' in the 'ords' table, I'm not bothering to put
    -- in more than two operations (though in reality more would be there) since they should be
    -- ignored in the final result anyway
    INSERT INTO     oops
    VALUES (1,1,'0010','123A','CL',TO_DATE('01/11/2010','mm/dd/yyyy'),2,0.2);
    INSERT INTO     oops
    VALUES (1,1,'0015','259B','CP',TO_DATE('01/12/2010','mm/dd/yyyy'),1,0.15);
    INSERT INTO     oops
    VALUES (1,2,'0010','123A','CP',TO_DATE('01/11/2010','mm/dd/yyyy'),2,0.2);
    INSERT INTO     oops
    VALUES (1,2,'0015','259B','CP',TO_DATE('01/12/2010','mm/dd/yyyy'),1,0.15);
    INSERT INTO     oops
    VALUES (25,1,'0005','123A','CP',TO_DATE('01/18/2010','mm/dd/yyyy'),2,0.25);
    INSERT INTO     oops
    VALUES (25,1,'0030','110C','CL',TO_DATE('01/19/2010','mm/dd/yyyy'),4,0.1);
    INSERT INTO     oops
    VALUES (14,1,'0010','127A','CP',TO_DATE('01/11/2010','mm/dd/yyyy'),2,0.25);
    INSERT INTO     oops
    VALUES (14,1,'0025','110C','CL',TO_DATE('01/12/2010','mm/dd/yyyy'),1,0.1);
    INSERT INTO     oops
    VALUES (14,1,'0040','050C','CP',TO_DATE('01/13/2010','mm/dd/yyyy'),1.3,0.15);
    INSERT INTO     oops
    VALUES (14,1,'0050','220B','WK',TO_DATE('01/14/2010','mm/dd/yyyy'),4,0.25);
    INSERT INTO     oops
    VALUES (14,1,'0065','242B','AV',TO_DATE('01/18/2010','mm/dd/yyyy'),1.5,0.1);
    INSERT INTO     oops
    VALUES (14,1,'0067','150G','NA',TO_DATE('01/19/2010','mm/dd/yyyy'),2,0.1);
    INSERT INTO     oops
    VALUES (14,1,'0100','250G','NA',TO_DATE('01/20/2010','mm/dd/yyyy'),2.1,0.2);
    INSERT INTO     oops
    VALUES (33,1,'0010','123A','CL',TO_DATE('01/11/2010','mm/dd/yyyy'),1.9,0.2);
    INSERT INTO     oops
    VALUES (33,1,'0015','259B','CP',TO_DATE('01/12/2010','mm/dd/yyyy'),1,0.1);
    INSERT INTO     oops
    VALUES (33,2,'0010','123A','CL',TO_DATE('01/11/2010','mm/dd/yyyy'),1.9,0.2);
    INSERT INTO     oops
    VALUES (33,2,'0015','259B','CP',TO_DATE('01/12/2010','mm/dd/yyyy'),1,0.1);
    INSERT INTO     oops
    VALUES (33,3,'0010','123A','CL',TO_DATE('01/11/2010','mm/dd/yyyy'),1.9,0.2);
    INSERT INTO     oops
    VALUES (33,3,'0015','259B','CP',TO_DATE('01/12/2010','mm/dd/yyyy'),1,0.1);
    INSERT INTO     oops
    VALUES (33,3,'0020','220B','NA',TO_DATE('01/12/2010','mm/dd/yyyy'),1.7,0.15);
    INSERT INTO     oops
    VALUES (33,3,'0030','150G','NA',TO_DATE('01/13/2010','mm/dd/yyyy'),1.3,0.05);
    INSERT INTO     oops
    VALUES (33,3,'0055','150G','NA',TO_DATE('01/15/2010','mm/dd/yyyy'),2.1.,0.1);
    INSERT INTO     oops
    VALUES (7,1,'0005','123A','NA',TO_DATE('01/11/2010','mm/dd/yyyy'),2,0.2);
    INSERT INTO     oops
    VALUES (7,1,'0030','110C','NA',TO_DATE('01/12/2010','mm/dd/yyyy'),1,0.15);
    INSERT INTO     oops
    VALUES (96,1,'0010','127A','NA',TO_DATE('01/11/2010','mm/dd/yyyy'),2,0.25);
    INSERT INTO     oops
    VALUES (96,1,'0025','110C','NA',TO_DATE('01/12/2010','mm/dd/yyyy'),1,0.1);
    INSERT INTO     oops
    VALUES (31,1,'0005','123A','CL',TO_DATE('01/11/2010','mm/dd/yyyy'),1.9,0.2);
    INSERT INTO     oops
    VALUES (31,1,'0030','110C','CP',TO_DATE('01/12/2010','mm/dd/yyyy'),1,0.1);
    CREATE TABLE mach
    (     mach_id          VARCHAR2(4)     NOT NULL
    ,     desc_short     VARCHAR2(9)     
    ,     group          VARCHAR2(7)
         CONSTRAINT ords_pk PRIMARY KEY (mach_id)
    INSERT INTO     mach
    VALUES     ('123A','desc here','GROUPH1');
    INSERT INTO     mach
    VALUES     ('259B','desc here','GROUPH2');
    INSERT INTO     mach
    VALUES     ('110C','desc here','GROUPJ1');
    INSERT INTO     mach
    VALUES     ('050C','desc here','GROUPK2');
    INSERT INTO     mach
    VALUES     ('220B','desc here','GROUPH2');
    INSERT INTO     mach
    VALUES     ('242B','desc here','GROUPH2');
    INSERT INTO     mach
    VALUES     ('150G','desc here','GROUPL1');
    INSERT INTO     mach
    VALUES     ('250G','desc here','GROUPL2');
    INSERT INTO     mach
    VALUES     ('242B','desc here','GROUPH2');

  • I need help with oracle

    Hi,
    I need some help... if someone can help its great.
    I need to make a statement in Oracle SQL that read data from a file and insert in a Oracle Database ... if someone can show me the syntax of it i appreciate..
    Thanks

    Okay, I see you followed the advice in that other thread and started a new post for you question. Congratulations. Your next lesson in forum etiquette is to give your posts a more relevant subject. Pretty much everybody who posts here needs help with oracle; if they need help with cooking catfish they've come to the wrong place.
    It that other thread I suggested using SQL*Loader or External Tables might be a more suitable solution. Find out more.
    Cheers, APC

  • Help with linking files

    I have several projects with 1000's of little clips in them- that have become unlinked- normally I can just use link media and that resolves it, but it seems like there has been either name changes to them (numbering in project panel seems different) or pathway to my ext hard drive has changed-help appreciated!!!

    Are you on a Mac, or a PC?
    If PC, what OS version do you have?
    The easiest way to find out exactly how your version of Windows sets drive letters is to go to Help, then type in "drive letter," without the quotation marks in the query box. You will then get all references to drive letter, and choose Setting Drive Letter, or similar syntax. That will step you through the process, and probably even provide a link to the disc management utility for your version.
    If you are on a Mac, then it would be Volume Name, but I cannot help with anything more than that, being a PC-only guy.
    Good luck,
    Hunt

Maybe you are looking for

  • Why does photoshop cs6 show two camera raw plugins?

    I'm running CS6 on a Mac Pro 1,1 version 10.6.8. I installed the most recent update from adobe (8.4). I did the full install and apparently it's only meant for version 10.7 and higher, but my CS6 still works. I did remove that camera raw file and ins

  • How to change the numbers of items in a ring control in run time ?

    Hi ! I would like change the numbers of items in a ring control in run time, but I can´t. Thanks.

  • No wi-fi and bluetooth unavailable issue

    NO WI-FI, Bluetooth Unavailable,,,,after reset..... here is some snapshots from iPad http://lh3.ggpht.com/2M7wMO3DVPg/TB8oNKVXCbI/AAAAAAAAAJk/1U21tXKEFEA/img_0966pkch35.jpg http://lh5.ggpht.com/2M7wMO3DVPg/TB8oNT_wxLI/AAAAAAAAAJo/n_cdozLhWn0/img_0965

  • Function module for  who's who

    Hi, This is w.r.t. ESS. We need to remove the hyper link for organization unit field getting displayed in portal home page. I want to achieve the following . 1. I want to know the function module. 2. How to remove the hyperlink. Regards Vikas Tomar +

  • Emails Delete from Inbox after ticket is received in Office 365

    We recently migrated from Exchange 2010 to Office 365. In doing so, we noticed that the emails which generate tickets from our Helpdesk mailbox are now disappearing altogether, whereas before they would be process and moved to the deleted items. Anyo