Viewing 15 posts - 7,786 through 7,800 (of 9,641 total)
You can also change the VB code to pass in nulls for those parameters, but what you are doing works.
You don't mention if you corrected the issue(s) in the WHERE...
August 21, 2008 at 12:52 pm
GSquared (8/21/2008)
I always thought of the procedure's beginning as the keyword "as" after the create statement and any parameters. Following "as" with "begin" always seemed redundant to me.
This is...
August 21, 2008 at 12:10 pm
I wouldn't say that there is anything wrong with it. I'd do it something like this:
[font="Courier New"]YEAR(GETDATE()) - YEAR(birthdate) - CASE
WHEN MONTH(GETDATE()) < MONTH(birthdate) THEN 1
WHEN...
August 21, 2008 at 10:30 am
Can you post the backup command you are running? Obviously you can change names if necessary.
Also, what is the error you are getting?
August 21, 2008 at 7:59 am
I have solved many problems by walking to a co-workers desk and asking them what they think and by the time I'm done explaining I have found a solution. ...
August 21, 2008 at 7:31 am
That would make sense since Database Mail is smtp and SQL Mail used MAPI and was connected to your Exchange Server using Outlook.
August 21, 2008 at 7:27 am
Assuming that you are scheduling these backups does the SQL Agent Service account have rights to the share?
August 21, 2008 at 7:26 am
That's an interesting question because it depends on what you expect row 10 to be. SQL does not guarantee order unless you specify an ORDER BY. In most...
August 21, 2008 at 7:20 am
Here is the best way I have found to use smtp in SQL Server 7, 2000. Download, install, and use xp_smtp_sendmail. Here's the link:
August 21, 2008 at 7:06 am
To backup to the network you should use UNC paths (\\server\share) not mapped drives. Drives aren't mapped unless you are logged in to the console so SQL Server never...
August 21, 2008 at 7:04 am
Why can't you run a server-side trace? The impact is minimal if you limit events and columns returned and put a filter on.
You could also put a RaisError() with...
August 21, 2008 at 6:54 am
An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E4D Description:
"Login failed for user 'Sev1\STERM2$'
I think that is the key line in the error...
August 21, 2008 at 6:45 am
I don't disagree and I have read many posts/articles/editorials about these issues. The biggest problem is that hiring managers only see resumes AFTER HR has culled them based on...
August 21, 2008 at 6:40 am
Duplicate post. Other one found here: http://www.sqlservercentral.com/Forums/Topic556124-1063-1.aspx
August 21, 2008 at 6:30 am
How are you getting the results into the email? Are you attaching query results? Please post your current code. My best guess is that you would have...
August 21, 2008 at 6:28 am
Viewing 15 posts - 7,786 through 7,800 (of 9,641 total)