Microsoft Mobile Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 4 July 2008

Transform a table column into a CSV field in SQL Server

Posted on 02:52 by Unknown
Imagine that you want to use a related table in your SQL query. You then must return only a single column or otherwise you'll get this SQL error:Msg 512, Level 16, State 1, Line 2Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.What I like to do, is to transform the result table column into a
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in reports, sqlserver | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

Categories

  • addons
  • article
  • async
  • avanade
  • azure
  • biztalk
  • blog
  • callout
  • convergence
  • crm5.0
  • customization
  • dotnetmag
  • enterprise
  • error
  • events
  • ExactTarget
  • excel
  • export
  • fetchxml
  • guest post
  • hotfix
  • import
  • installation
  • isv.config
  • javascript
  • live
  • lookup
  • mailmerge
  • metadata
  • migration
  • mobile
  • mvp
  • office
  • offtopic
  • outlook client
  • performance
  • platform
  • plug-in
  • reports
  • rollup
  • sdk
  • SharePoint
  • sqlserver
  • surface
  • titan
  • training
  • unsupported
  • virtualpc
  • whs

Blog Archive

  • ►  2013 (3)
    • ►  August (1)
    • ►  February (2)
  • ►  2010 (19)
    • ►  October (3)
    • ►  July (2)
    • ►  June (3)
    • ►  May (3)
    • ►  April (5)
    • ►  March (1)
    • ►  January (2)
  • ►  2009 (28)
    • ►  November (1)
    • ►  October (4)
    • ►  September (2)
    • ►  June (2)
    • ►  April (8)
    • ►  March (2)
    • ►  February (2)
    • ►  January (7)
  • ▼  2008 (36)
    • ►  December (2)
    • ►  November (1)
    • ►  October (3)
    • ►  September (7)
    • ▼  July (6)
      • Javascript Files and Caching
      • Not all emails are sent from MailMerge
      • Creating an activity report which includes the rel...
      • Transform a table column into a CSV field in SQL S...
      • Determine the logged in user
      • MVP for the 3rd consecutive year
    • ►  June (1)
    • ►  May (1)
    • ►  March (4)
    • ►  February (4)
    • ►  January (7)
  • ►  2007 (61)
    • ►  November (2)
    • ►  October (5)
    • ►  August (1)
    • ►  July (3)
    • ►  June (6)
    • ►  May (6)
    • ►  April (8)
    • ►  March (11)
    • ►  February (12)
    • ►  January (7)
  • ►  2006 (53)
    • ►  December (4)
    • ►  November (5)
    • ►  October (7)
    • ►  September (3)
    • ►  August (6)
    • ►  July (4)
    • ►  June (6)
    • ►  May (1)
    • ►  April (1)
    • ►  March (6)
    • ►  February (2)
    • ►  January (8)
  • ►  2005 (30)
    • ►  December (3)
    • ►  November (5)
    • ►  October (7)
    • ►  September (6)
    • ►  August (3)
    • ►  July (6)
Powered by Blogger.

About Me

Unknown
View my complete profile