Viewing 15 posts - 9,361 through 9,375 (of 9,398 total)
You shouldn't be using QUOTENAME on the disk location. Just enclose it in single quotes.
February 1, 2013 at 9:57 pm
You aren't passing any of your parameters to the EXECUTE sp_send_dbmail statement.
February 1, 2013 at 9:53 pm
Thanks.
February 1, 2013 at 1:22 pm
Also, btw, turn on IFI unless for security reasons you can't. That will dramatically speed up data file growth on all databases, including system ones.
What is IFI?
February 1, 2013 at 1:08 pm
It seems like maybe what you really need is an appointments table. You can figure out the open time slots using the gaps and islands logic. In other words, if...
February 1, 2013 at 1:06 pm
I would think it would be multiple doctors, each of whom works a different schedule on different days of the week. Then they'd have their own appointments of varying...
February 1, 2013 at 1:04 pm
Your database is 1/2 TB in size and you have less than 1% unused. I don't see a problem.
February 1, 2013 at 12:51 pm
An point worth considering here is that sp_send_dbmail is a system stored procedure provided by MS with the product. Customizing it may result in your functionality "just going away"...
February 1, 2013 at 12:28 pm
First, I would just refer to a temp table by its name and not fully qualify it.
Second, it you're in a loop, you may not need to create and drop...
January 31, 2013 at 7:40 am
I really like batch files and I've used them for quite a few years. They can accomplish a lot and are quite a useful tool to have in your...
January 31, 2013 at 7:28 am
The database mail system itself has proven itself to be quite reliable to me. We send lots of outgoing mail and it does a pretty good job. The...
January 31, 2013 at 7:24 am
I'm pretty sure JKG has done this before. 😀
January 29, 2013 at 7:47 am
Grant is right. You can fire UPDATE STATISTICS commands from within a stored procedure. They'll execute and then subsequent statements will get the benefits of having fresh and...
January 29, 2013 at 5:55 am
As a word of caution, I believe you can do online index rebuild only with the Enterprise Edition of SQL Server. If you have EE, great. If not,...
January 25, 2013 at 7:37 am
That last post makes me think of indexes. Since you changed the code to make things simpler and the database isn't maintained, check to see if the procedure is...
January 25, 2013 at 6:31 am
Viewing 15 posts - 9,361 through 9,375 (of 9,398 total)