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 wOOdy-Soft 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 ahartong

  1. ahartong

    Data source name not found and no default driver specified

    OK, I can try the ODBC trace to see what is happening. Never knew that existed. I was just instructed to use a typical connection string. Here it is. DRIVER={SQL Server};Server=ahartong-01\ahsql2;Database=ZOOTH;Uid=sa;Pwd=;
  2. ahartong

    Data source name not found and no default driver specified

    I have a 3rd party app that I am trying to use that connects to an sql database. It runs as a service, and I have it running on one system, but cannot get it to run on other systems, that appear to have the exact some setup. I have a dsn-less connection string that I am using to connect to the...
  3. ahartong

    Build Cursor using sp_executesql/exec

    I am trying to build statements using a variable for my database name.(Ex. @DB.dbo.tablename) This is working fine using sp_executesql, but I am having trouble building a cursor from a large select statement with joins. It seems to let me run the statement, but it does not seem to keep the...
  4. ahartong

    Mapper Looping

    I am mapping an edi 850 to a flat file. I am having a problem wih looping segments. On an N1 loop, I have an N1, N2, N3, and N4 declared. But, when testing, if I receive an N1 and N3, it still prints the N2 and N4. Is there a way to suppress the segments in the loop?
  5. ahartong

    HTML to file

    I need to create an HTML file in t-sql that will be emailed. I am having trouble running the commands to generate the HTML that needs to be written to an output file. What would be my best option? I've tried some scripts with the xp_cmdshell command, but it can't write html tags to the file...
  6. ahartong

    Using sp_executesql

    I am trying to write a SQL statement in a stored procedure, and I'm not sure if SQL has the functionality to handle what I am tring to do. Once the call is made, I use the @PONum variable in the proc. Here is my example statement: SET @SQLString = N'select ' + @PONUM + ' = PONUMBER from ' +...

Part and Inventory Search

Back
Top