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!

Recent content by jw2000

  1. jw2000

    Query Help

    Can anyone help?
  2. jw2000

    Running a Perl File (.pl) from ASP

    Hello Tarwn, The perl file is in C:/myPerlFiles/perl1.pl How do I run perl1.pl from ASP? perl1.pl also prints out messages when it's running ... can I see these in ASP as well?
  3. jw2000

    Running a Perl File (.pl) from ASP

    I am currently using running a perl script (.pl) from the Command Prompt. How can I run this .pl file from ASP?
  4. jw2000

    Query Help

    Zhavic, Thanks for the pointer, but with the new code: declare @str1 as varchar(8000) declare @str2 as varchar(8000) declare @str3 as varchar(8000) select @str1 = Substring('<A href="http://www.domain.com/chem.asp?cId=' + CAST(chemicalId AS varchar) + '" target="NEW">' +...
  5. jw2000

    Query Help

    Any other suggestions? I'm not sure what I'm doing wrong.
  6. jw2000

    Running a Perl File (.pl) from ASP

    How can I run a Perl file (.pl) from ASP?
  7. jw2000

    Query Help

    Using the following code, I still get the same errors (shown above): declare @str1 as varchar(8000) declare @str2 as varchar(8000) declare @str3 as varchar(8000) set @str1 = Substring('<A href="http://www.domain.com/chem.asp?cId=' + CAST(chemicalId AS varchar) + '" target="NEW">' +...
  8. jw2000

    Query Help

    maswien, I changed the code to: INSERT INTO #TempChemicalsChunk (chemicalsInfo) SELECT Substring('<A href="http://www.domain.com/chem.asp?cId=' + CAST(chemicalId AS varchar) + '" target="NEW">' + dbo.PROPER(chemicalTITLE) + '</A><BR>' +...
  9. jw2000

    Query Help

    Can anyone help?
  10. jw2000

    Query Help

    Type above, the 3 selects should read: SELECT @Chunk1 = Substring(chemicalsInfo, 1, 8000) FROM #TempChemicalsChunk SELECT @Chunk2 = Substring(chemicalsInfo, 8001, 8000) FROM #TempChemicalsChunk SELECT @Chunk3 = Substring(chemicalsInfo, 16001, 8000) FROM...
  11. jw2000

    Query Help

    chemicalsInfo in #TempChemicalsChunk is TEXT, so it doesn't have a maximum length of 8000, does it? If it does, do you have suggestions on how I can temporarily store chemicalsInfo (which can have up to 24,000 characters) to break down into 3 chucks (@Chuck1, @Chuck2, and @Chuck3)?
  12. jw2000

    Query Help

    Code compiles but I get alot of errors for line "SELECT Substring ..." because chemicalId, chemicalTitle, chemicalDescription, chemicalCountry, chemicalState, chemicalCity, etc. gets the following errors: Invalid column name 'chemicalId' Invalid column name 'chemicalTitle' Invalid column name...
  13. jw2000

    @Var into Two Parameters Using Temp Table

    Druer, I apologize for any confusion and I appreciate your help so far. Thank you!
  14. jw2000

    Generating a Unique ID

    Got it to work! Thank you Vongrunt.
  15. jw2000

    Generating a Unique ID

    If I use @RecordTimestamp which is the record value of a datetime field in the database: set @datestr = replace(convert(char(10), cast(@RecordTimestamp as varchar), 10), '-', '') set @timestr = replace(convert(char(12), cast(@RecordTimestamp as varchar), 114), ':', '') 2003-03-23 10:34:01.513...

Part and Inventory Search

Back
Top