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

  1. uerobertson

    Concatenate string in INSERT. Don't know # of records.

    I need to do an INSERT where I SELECT, concatenate and INSERT all in one statement. I've researched thread183-90896, and FAQ183-1067 but neither are exactly what I need. Would someone please be able to help me with the syntax? This code works for one record at a time but uses too many...
  2. uerobertson

    How to convert 2 coded fields to 6 uncoded and insert data into table?

    Hi, I am writing a stored procedure to convert our client's data and move it into our database. I am using SQLSvr 2000 and Win2000. I have a table containing 3 fields: Table1 ID | Date | Code ----------------- 1 | Jan 1 | OD1 ----------------- 1 | Feb 1 | SD1 ----------------- 1 | Mar 1 |...
  3. uerobertson

    Cursor vs. temporary table. Declaring with local variables

    I am writing a stored procedure that will take in a table name and some field names and use the info from that table to update or add records to another table. I can't just use the UPDATE INTO because an ID is retrieved from yet another table. (Not my table design - came down from higher up). My...
  4. uerobertson

    How to set @localvariable in dynamically created SQL statement?

    I am trying to write a stored procedure that will get a colour description from a table (SQL Server 2000). The procedure has to be able to get info from several different tables (supplied by our clients). The only assumption is that the client table has the two fields and that both are varchar...

Part and Inventory Search

Back
Top