Home Forums SQL Server 2008 SQL Server Newbies Concatenating rows from aliased tables on MSSQL 2005 server RE: Concatenating rows from aliased tables on MSSQL 2005 server

  • domingo.sqlservercentral (4/4/2014)


    ... and? Please...

    Well you gave us a bunch of data and said "here is my results". Results of what? Presumably a query.

    The problem is that you have the same column name in a number of these tables and there is nothing indicate the relation between these tables. How about if you post the query that you used and explain what you want as output?

    This is a two way street. When you provide details about what you want we can help you figure out a way to get them. Otherwise we are just guessing.

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/