Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Concatenating Text In a Query
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

106 Posts

Posted - 03/07/2014 :  08:43:33  Show Profile  Reply with Quote

I'm wanting to concatenate something that doesnt exist to an already existing field.

What I need to do is add a generic email address to every record in a data view

So, what it would do is take the column that does exist and add to another column that I would call username

So rather than it just appearing as 911234 it would be a derived column saying

i've tried using +''+ but I get a space after the number

Can you help please?

Flowing Fount of Yak Knowledge

1054 Posts

Posted - 03/07/2014 :  09:32:45  Show Profile  Reply with Quote
Post the sql query you've used, along with its output and the issue that is in the output.

Go to Top of Page

Posting Yak Master

106 Posts

Posted - 03/07/2014 :  10:45:02  Show Profile  Reply with Quote
I sorted it now thanks. One of the fields didnt support what I was trying to do
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000