Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. goyalpdm

    Mailx gives 550 5.7.1 Unable to relay for external email ids

    Hi- I m having a problem with sending e-mails using mailx command. On executing the command for users in external domain, I get: The following recipient(s) could not be reached: '<user>@<external_domain>.com on 11/08/2007 11:11 AM 550 5.7.1 Unable to relay for <user>@<external_domain>.com...
  2. goyalpdm

    How to find/replace a character within a string?

    Perfect again! Good learning. Thanks a ton.
  3. goyalpdm

    How to find/replace a character within a string?

    Can please suggest the command if ' should be modified to \' (instead of /' as mentioned earlier)? I tried str=$(echo ${str}|sed "s:':\':g"): but it is of no help.
  4. goyalpdm

    How to find/replace a character within a string?

    Perfect! Thanks a ton!
  5. goyalpdm

    How to find/replace a character within a string?

    The code returns bad substitution. PS: Not too sure on how to change the forum. If you can, please do it for me.
  6. goyalpdm

    How to find/replace a character within a string?

    Hi, Am using Ksh and have the string in a variable. The string contains ' and would like to append / before same. So ' should be replaced as /'. Please advise. Thanks, Sachin
  7. goyalpdm

    Cut string to xx char, insert newline at nearest space

    Bingo !!!.... Did the trick. Thanks a ton.
  8. goyalpdm

    Cut string to xx char, insert newline at nearest space

    I have similar requirement: I have 3 columns in a pipe seperated file. Second column in this file should be limited to 20 characters. I am using AWK script to read this file and like to cut/fold/anything else within awk.... Please help.
  9. goyalpdm

    Materialized Views: sometime used/ sometime not....

    Does someone has experience with Materialized Views? I am new to this and have created such views for some queries (response time > 60 sec). Issue is: MV works well right after it is created and we get very good response time (< 10 sec). But if query is performed after sometime (say ~3 hrs...
  10. goyalpdm

    Unable to drop/create table with new values of &quot;NEXT&quot;

    Sure. This is very BIG table and have ~50 GB in tablespace.
  11. goyalpdm

    Unable to drop/create table with new values of &quot;NEXT&quot;

    Hi, I have large table will following storage parameters: INITIAL 2000M MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT Would like to change (NEXT and MAXEXTENTS) to: INITIAL 2000M NEXT...
  12. goyalpdm

    AWK: Update data in one file while looking into secod file....

    Is it possible to avoid newfile_2? Ofcourse I can mv newfile_2 file_2 but it would be much cleaner if can avoid newfile_2 and update file_2.
  13. goyalpdm

    AWK: Update data in one file while looking into secod file....

    Bingo. It works great !!! Thanks PH, Sachin
  14. goyalpdm

    AWK: Update data in one file while looking into secod file....

    Pipe "|"... Guess, I should have mentioned it in first place.
  15. goyalpdm

    AWK: Update data in one file while looking into secod file....

    I tried this in the command prompt. It generated newfile_2 BUT exactly same as file_2. As I said, I like to update first column of file_2 with second column of file_1.
  16. goyalpdm

    AWK: Update data in one file while looking into secod file....

    Hi, Please see if someone can help me on this: I have two files: - file_1 (col_11, col_12) and - file_2 (col_21, col_22, col_23 ...) Of these, file_1 is master file and is used to update data in file_2. How to update? Read first column of file_2 (col_21) and compare it with second column...
  17. goyalpdm

    Cursor: Can where clause have NULL values?

    BINGO !!! ...WHERE (col2 = v_programVariable1 or col2 is null) and col3 = v_programVariable2 or col3 is null) Was enough to do the trick. Thanks Man. You are great !!! Cheers, Sachin
  18. goyalpdm

    Cursor: Can where clause have NULL values?

    Please read original query as: CURSOR curMyTable IS SELECT col1 FROM MyTable WHERE col2 = v_programVariable1 AND col3 = v_programVariable2; I verified. Two cursors resolve the problem: CURSOR curMyTable1 IS SELECT col1 FROM MyTable WHERE col2 = v_programVariable1; CURSOR curMyTable2 IS SELECT...
  19. goyalpdm

    Cursor: Can where clause have NULL values?

    Hi, I have a cursor on table: CURSOR curMyTable IS SELECT col1 FROM MyTable WHERE col2 = v_programVariable1 AND col3 = v_programVariable1; As per business condition, either one of v_programVariable1 and v_programVariable2 has to be NULL. Wonder If my curosr is OK? What I see is, cursor fails...
  20. goyalpdm

    Disable SQL*Plus Connected to/ Disconnected message...

    Thanks Guys. It works great! Cheers, Sachin

Part and Inventory Search

Back
Top