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 dencom 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: *

  • Users: CTSQLGUY
  • Content: Threads
  • Order by date
  1. CTSQLGUY

    Carriage Returns are Killing my Script - Assistance Required

    I’m running into issues because of carriage returns and need some assistance… I’m using this to capture the description: ------------------------------------------------------------------------------------- my $description = ''; if ($record =~ /^\s+DESCRIPTION\n\s+"(.*?)"$/m) {...
  2. CTSQLGUY

    Assistance capturing multiple lines...

    I have a script that is only able to capture one line at a time - I need it to be able to capture ALL of my data between the quotes. Here is the script: ----------------------------------------------------------- my $description = ''; if ($record =~...
  3. CTSQLGUY

    Assistance editing a script to parse out some numbers...

    Hello! I have a script that needs some tweaking. Right now, I have the script grabbing a number of different lines from one file and inserting them into another. Now what I need is to be able to grab ONLY the last digits and insert them into my file. Here is an example of what I need to...
  4. CTSQLGUY

    Adding a header and trailer...

    I have a script that I would like to make a slight change to. Currently, it is doing almost exactly what I want, however, at the beginning and end of it I want to add an open and close and am not sure how to do it. If someone can point me in the right direction, as to what minor changes I would...
  5. CTSQLGUY

    Perl Script for MIB Conversion...

    I have a script that takes MIB's and converts them to a CFX file, the file is something readable by a program I'm using for SNMP management The script is a work in progress, the majority of it is done but I need some assistance to finish it... The script does exactly what I want except right...
  6. CTSQLGUY

    Showing only the X value in a select query...

    The records I'm displaying have no key, so this makes it harder... Basically, I have a table that looks like this: USER-A USER-B USER-C USER-D I want to be able to display only the third value... any ideas? I think the best way would be to do a sort and then a select on the third value, I...
  7. CTSQLGUY

    Adding Values....

    I want to be able to add the results of my query, shown below, together to create a new expression... ---------------------------------------------------- SELECT TOP 1 TableA.F1 AS A, TableB.F1 AS B FROM TableB CROSS JOIN TableA ORDER BY TableA.F1 DESC...

Part and Inventory Search

Back
Top