THE SQL Server Blog Spot on the Web
Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | Join | Help
in Search

Browse by Tags

All Tags » INNER JOINS   (RSS)
  • RE: Views vs. Tables

    Hello All, I am looking for some general advice concerning views vs. tables.  I have several processes for which I have created multiple views.  In other words, View 2 depends on View1 and so on.  Some of these are nested 6-8 deep. I had some initial difficulty with unexpected join results (SQL choosing a different join than what ...
    Posted to SQL Server (Forum) by lmeinke on November 26, 2008
  • Re: getting error when accessing multiple tables

    Try: SELECT Q.Qname FROM Question q INNER JOIN Category_Details cd ON cd.idquestion = q.idquestion INNER JOIN Category c ON c.idCategory = cd.idCategory WHERE CategoryName = @CategoryName ... you can also eliminate the RETURN SCOPE_IDENTITY().  That only makes sense when you're inserting into a table with an IDENTITY column, and in ...
    Posted to SQL Server (Forum) by Adam Machanic on July 9, 2008
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement