Viewing 15 posts - 166 through 180 (of 200 total)
You should read these two comprehensive articles on error handling in SQL Server by Erland Sommarskog:
April 7, 2008 at 8:13 am
Try this:
selectemails.email as emailAddress
,reverse(substring(reverse(emails.email), 1, charindex('.', reverse(emails.email)) - 1)) as emailDomain
from(
select'xxx.yyy@xxx.com' as email
union all
select'xxx.yyy@xxx.co.uk'
) emails
April 7, 2008 at 8:11 am
Please, post the definition of the query that causes the error.
Also check whether the called component is actually installed.
April 7, 2008 at 8:07 am
In the trigger you could put all the data from the INSERTED virtual table into a single XML instance and send that to the queue. Of course, you'd have to...
April 7, 2008 at 8:06 am
Are you looking for a generic procedure that can be used to import data from various sources? A more appropriate solution would be to just provide your coleague with an...
April 7, 2008 at 7:59 am
Please, post proper DDL, sample data and expected results.
See this article for details:
February 8, 2008 at 2:17 am
Yes, loose ends should be tied up before moving on.
SQL 2000 is still being widely used, and let's not mention SQL 2005 SP2. Oh, I just did.
February 1, 2008 at 9:11 am
Have you considered using SSIS for this?
January 30, 2008 at 8:02 am
Assuming your data is correct, I believe this could be close:
selectcurrentyear as CYear
,District
,School
,RollNo
,zipcode
,[type]
,count(*) as actual_count
,Emp_Related
= sum(case when ([status] = 'E' and relation = 'R') then 1 else 0 end)
,Emp_Not_Related
= sum(case...
January 30, 2008 at 5:40 am
Please, post proper DDL, sample data and expected results.
See this article for reference:
http://www.aspfaq.com/etiquette.asp?id=5006
Anyway, what you're describing is a self join. In order to achieve that, you need to...
January 30, 2008 at 4:44 am
Please, explain in more detail what it is that you're trying to achieve.
There is no "grid view" per se in SQL Server. If you're referring to a UI component you...
January 30, 2008 at 4:36 am
Please, post a simplified version of the repro. I think by simplifying this you can even discover the source of the problem without any outside help.
January 30, 2008 at 3:53 am
Make sure the laptop WinNT user is mapped to a login on the SQL Server Express instance, and this login is a user of the database, and the user has...
December 19, 2007 at 3:44 am
Take a look at these two articles by Erland Sommarskog:
December 19, 2007 at 3:08 am
Please, provide proper DDL, sample data and expected results, otherwise we're all looking at days of guessing and not really helping anyone.
December 19, 2007 at 2:59 am
Viewing 15 posts - 166 through 180 (of 200 total)