Viewing 15 posts - 181 through 195 (of 334 total)
polkadot (2/27/2013)
ooh man, you got my back. Thanks. would'a goofed with that in my next interview 🙂
🙂 I'm usually looking for ways to disseminate my superiority...
March 1, 2013 at 11:49 am
You've moved the alias from the source query to the subquery so it's only looking at itself and not the encapsulating dataset.
March 1, 2013 at 11:47 am
I believe the right answer SHOULD be 4. Yes.
Can this work?
1. You will receive a syntax error - You don't receive a syntax error in SQL Server 2008 R2
2. No....
March 1, 2013 at 11:41 am
The request is a little unclear to me. Can you supply a sample of what you would expect from the resultset so we can understand further?
March 1, 2013 at 11:31 am
I'm not sure I understand. If I use
@From_Address = 'ErinRamsay<some@replyaddress.com>'
both the name and reply address are overridden. Which Name field are you trying to change?
March 1, 2013 at 11:26 am
If the why isn't as important as the what in this case you could always use the
@From_Address =
March 1, 2013 at 10:40 am
You may want to use a full outer join rather than EXCEPT as you're only comparing in one direction.
March 1, 2013 at 9:57 am
Have a look at this article in order to use an effective hierarchical model in SQL Server.
March 1, 2013 at 9:02 am
I'll take a shot in the dark. You're setting the current date to last month. Try setting it to this month.
DATEADD(mm,0,getdate())
February 28, 2013 at 3:30 pm
This link demonstrates how to use OPENDATASOURCE:
http://msdn.microsoft.com/en-us/library/ms179856.aspx
You'll probably need to exercise your GoogleFu to look up some of the information the OPENDATASOURCE requires.
As for SSIS, if you're using...
February 28, 2013 at 3:20 pm
Couple of options I can think of off th bat.
1. Export your contact list to CSV file and import into your database.
2. Use the code at this location: http://support.microsoft.com/kb/170320 to...
February 28, 2013 at 3:14 pm
If I remember correctly, DBMail is the service which actually sends the email but is NOT the service the queues them up to be sent so SQL Server will queue...
February 28, 2013 at 1:30 pm
I don't suppose you have access to Integration Services?
Barring that, what about using an Excel file template and using [COde="sql"]INSERT INTO OPENDATASOURCE (.....[/CODE] to write your query into it? That...
February 28, 2013 at 1:06 pm
Not sure if it will work as I haven't tried it but you define a text field in Excel by using the single quote. ie. 2459 when put in a...
February 28, 2013 at 10:40 am
Lol.. good point, Sean. I got side-tracked by a sendmail issue in my systems and posted before it was finished..
February 28, 2013 at 9:45 am
Viewing 15 posts - 181 through 195 (of 334 total)