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. Nova980

    Combining two values in one column

    Hi, I'm looking to combine two values in one column in my results. For example, I have a value of apple and a value of orange in PRDRST_L4_MAIN_DSC and I'm joining to pull specific ITEM_ID's however I need all ITEM_ID's that belong to Orange and Apple to sum SALES together in on row. Results...
  2. Nova980

    Combining two values in one column

    My apologies, wrong forum. Thank you for your help
  3. Nova980

    Combining two values in one column

    This is what I have to pull the totals for each PRDRST_L4_MAIN_DSC. I want to combine only two PRDRST_L4_MAIN_DSC out of about 12. select a19.WK_NBR_ID WK_NBR_ID, a11.STATE_ID STATE_ID, a16.MAIN_DSC MAIN_DSC, sum(a11.SALES_AMT) TOTAL from SALES a11 join ITEM_L...
  4. Nova980

    Combining two values in one column

    Hi, I'm looking to combine two values in one column in my results. For example, I have a value of apple and a value of orange in one column and I'm joining another column called total sales. I want my results to show Product Total for both products Apple/Orange...
  5. Nova980

    UPDATE based on another table

    My update statement is returning an error = ORA-00904: "STORE_DETAIL": invalid identifier I'm trying to update STORE_DETAIL based on the matching store_id's in another table. UPDATE STORE_DETAIL_L SET (STORE_DETAIL) = (SELECT WM_STORE_TYPE_DESCR_TXT FROM GEO_STORE_L WHERE...
  6. Nova980

    UPDATE based on another table

    I'm trying to update a table based on the values of another column in another table. For example, I have a column called Store in a table called T_STORE. This table has approximately 200 rows and each store has it's own description in a column called Store_Description based on the STORE_FORMAT...
  7. Nova980

    Offset POSIX qw(strftime)

    Thanks for your help guys... I really appreciate your answers. Your wondering has given you the answer... I want it to break in six months. Thanks again!
  8. Nova980

    Offset POSIX qw(strftime)

    I think so too it fails to execute on the newline you created
  9. Nova980

    Offset POSIX qw(strftime)

    I'm trying to offset %W by 4 weeks and I'm unable to get it done. Can someone help me please? TY #!/usr/bin/perl use POSIX qw(strftime); our $today = strftime("09%m%%W%d", localtime); foreach my $file (<AC*.lkp.z>) { rename ($file, "AC$today.lkp"); last; # so we only rename 1 file
  10. Nova980

    Babelfish Module

    perl babelfish.pl I want the script to read the input file "autobad.log" and eventually write a log with the English interpretation of all Chinese characters. #!/usr/bin/perl use strict; use warnings; use Babelfish; # input file to translate # specified as command line argument...
  11. Nova980

    Babelfish Module

    input_file = autobad.log
  12. Nova980

    Babelfish Module

    Help, Having trouble getting the translation... code follows: Getting an error -> usage: ./translate.pl autobad.log at babel.pl line 9. Thanks #!/usr/bin/perl use strict; use warnings; use Babelfish; # input file to translate # specified as command line argument my...
  13. Nova980

    Encode Chinese Characters?

    Uh oh, my apology for the confusion. Encoding flac files all day hence the "encode" typo. Sorry buddy. Thanks
  14. Nova980

    Encode Chinese Characters?

    WWW-Babelfish-0.16 <-- does the trick. Thanks anyway.
  15. Nova980

    Encode Chinese Characters?

    Is there a way to encode chinese characters from a log file into good ole Engish? I have a script that pulls information that is in Chinese. Thanks
  16. Nova980

    Help Batch file execution

    Is it possible to execute a batch file that resides on a server from my local PC? Hence, not remote into the server and execute via personal PC. Thanks a million.
  17. Nova980

    Rename Function

    Nevermind I just used POSIX qw(strftime). Thanks again.
  18. Nova980

    Rename Function

    Thanks a million, works perfectly. How can I include the current date after the BC in BC.txt? Ex: foreach my $file (<BC*.txt>) { rename ($file, "BCyymmdd.txt"); last; # so we only rename 1 file }
  19. Nova980

    Forwarding an Attachment to (Server) Public Folder

    Cheers, Help please, looking to take a reoccurring email message that I recieve every week. The message contains an attachment that I need placed on a folder on my server (trying to avoid FTP). I want to Automate by forwarding to a folder on my server? I only want the attachment not the...
  20. Nova980

    Forwarding an Attachment to (Server) Public Folder

    Cheers, Help please, looking to take a reoccurring email message that I recieve every week. The message contains an attachment that I need placed on a folder on my server (trying to avoid FTP). I want to Automate by forwarding to a folder on my server? I only want the attachment not the...

Part and Inventory Search

Back
Top