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 Mike Lewis 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. pauledward123

    Error in code

    Thanks a lot. Other thing I found is that a statement must be terminated with a ; before a common table expression declare @b int, @c varchar(20); WITH Temptable AS ( SELECT ID_prom, Name_prom FROM TSSITE_Prominences_prom ) select @b = ID_prom, @c = Name_prom from Temptable
  2. pauledward123

    Error in code

    Hello Just starting with SQL and i'm experimenting with creating a temporary table and storing variables. I'm trying th efollowing code but I get an error "Invalid object name 'Temptable'." Here's the code: WITH Temptable AS ( SELECT ID_prom, Name_prom FROM TSSITE_Prominences_prom ) select...

Part and Inventory Search

Back
Top