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 TouchToneTommy 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 Shilohcity

  1. Shilohcity

    IIS Infrastructure Content Redirection

    Hi there Im not sure if Im posting to the right place so please point me in the direction of other groups if this post might be better off there. Let me start by saying I am a Web Developer trying to implement an infrastructure solution. EeeeeK!! I am looking for some advice regarding the...
  2. Shilohcity

    Web Infrastructure Content Redirection

    Hi there Im not sure if Im posting to the right place so please point me in the direction of other groups if this post might be better off there. Let me start by saying I am a Web Developer trying to implement an infrastructure solution. EeeeeK!! I am looking for some advice regarding the...
  3. Shilohcity

    xp_cmdshell Echo Echo

    Is that an echo I hear? :-D I am trying to output an echo command into a batch file so the batch file can output into another file like so: xp_cmdshell 'echo echo file2Output >> file2.txt >> file1.bat' As there are 2 echo commands things are getting a bit muddled and the output I get in...
  4. Shilohcity

    SQL Server Integration with Active Directory

    Righto finally figured out how to do this from the helpful instructions at this site http://www.mauvais.com/PubsCached/ZD-Het.htm I was pretty close before just didn't have the security quite right. Justin. "Creativity is the ability to introduce order into the randomness of...
  5. Shilohcity

    SQL Server Integration with Active Directory

    Hi there I have a SQL Server 2000 box that is part of a windows 2000 domain. I have read about the possibility of setting up a linked server on the SQL Server which will integrate with the AD domain. I have tried to work my way through this but am getting errors about ADSDSOObject not getting...
  6. Shilohcity

    Parsing XML InputStream

    Hi there I should start by saying I am fairly new to Java and am kind of bumbling my way through the following. I have some code which makes a POST request to a website and receives an XML response back. This is working fien and I end up with an InputStream object that contains the response...
  7. Shilohcity

    Dynamic Table Name in SELECT statement

    Thanks Sunil. That works much more nicely than the way I found using a cursor. It should be a little bit easier on memory as well. One thing if anybody else is looking at the solution above there should be a space in the 2nd line like: EXECUTE sp_executesql @SQL, N'@cnt INT OUTPUT', @cnt...
  8. Shilohcity

    Dynamic Table Name in SELECT statement

    Hi tlbroadbent Thanks for the additional suggestions but although the FAQ deals with the use of dynamic variables in queries using the EXEC() command it doesn't explain how to return the variable to another variable like: SET @cnt = SELECT COUNT (*) FROM @dynamicTableName print @cnt -- Prints...
  9. Shilohcity

    Dynamic Table Name in SELECT statement

    Thanks wsmall Both good suggestions. I was trying to avoid having to create any temp tables or SP's as I only needed a simple count of records in a table. I actually found what I think is a pretty good solution here ...
  10. Shilohcity

    Dynamic Table Name in SELECT statement

    Hi there I am trying to do the following: SET @cnt = (SELECT COUNT (*) FROM @dynamicTableName) This keeps on erroring on the use of a local variable for the table name. If I replace the variable with the hard coded table name it works fine. I know how to do this as: SET @SQLString =...
  11. Shilohcity

    PHP, GPG email encryption

    Hi there I am trying to encrypt and send some information from a php page as an email. I know this can be done using gpg but I am not having much luck getting it to work. I have setup a key for myself on the webserver and am trying to use the following code: <?php $gpg = '/usr/bin/gpg'...
  12. Shilohcity

    javax.xml.soap error at runtime

    Hi there I have been trying to get the UDDI example in the Sun Web Services pack to run. I can compile fine but when it comes to run time I get: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPConnectionFactory I have put saaj-api.jar, saaj-ri.jar and jaxm-runtime.jar into my CLASS_PATH but...
  13. Shilohcity

    CHMOD From FTP Batch File

    Thanks for your suggestions. I have now got this going with some help from my ISP. Cheers Justin. &quot;Creativity is the ability to introduce order into the randomness of nature.&quot; Eric Hoffer Visit me at http://www.dfodesign.co.nz
  14. Shilohcity

    javax.xml.parsers with WebLogic5.1

    Hey I figured it all out. I copied the jars from within the jaxp dir into my jdk dir and all works fine. I was getting very confused with crimson.jar, xalan.jar and jaxp.jar all of which seem to have had name changes in the Summer 02 pack. Anyways thanks again. Justin. &quot;Creativity is the...
  15. Shilohcity

    javax.xml.parsers with WebLogic5.1

    Hi Ben Thanks for the suggestion. I had already downloaded the pack and extracted it to C:\java_xml. I added this location to my CLASS_PATH but am still getting the error &quot;Package javax.xml.parsers not found in import&quot; from WebLogic. Is there a specific jar within the pack I need to...

Part and Inventory Search

Back
Top