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 Wanet Telecoms Ltd 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: MarvinJean
  • Content: Threads
  • Order by date
  1. MarvinJean

    Problem with Temp Tables

    I am trying to create a stored procedure and can not get temp tables created in the proc to pass to subsequent steps of the same proc. The first step SELECTs INTO a temp table #tblCertRollTest The next step uses that table to SELECT INTO another temp table #tblTest #tblTest is used to...
  2. MarvinJean

    Error In Dynamic Sql Statement

    I am trying to create and run a dynamic Sql statement in a stored procedure. The part of the proc that creates the @Sql is "SET @SQL = 'SELECT IDENTITY(int, 1, 1) AS Testid, rtblCertRollTest.SapLotNumber, rtblCertRollTest.SapRoll, rtblCertRollTest.Ply, ' + @tstTable + '.SapLotNumber AS...
  3. MarvinJean

    Copy field into next record

    I have a table with a column that may be null and may have data. If the field is null I want to copy from the previous record. The first record will not be null. Table: Group Unit Data 123 1 Alpha 123 2 <null> 123 3 <null> 123 4 Beta 123 5...

Part and Inventory Search

Back
Top