Viewing 15 posts - 1,021 through 1,035 (of 7,191 total)
GA_SQL - Monday, December 18, 2017 9:28 AMyes sir, email sent in the case SP executed directly
So is this resolved? Because if...
December 18, 2017 at 9:34 am
GA_SQL - Monday, December 18, 2017 9:15 AMThe EXECUTE permission was denied on the object 'sp_send_dbmail' [SQLSTATE 42000] (Error 229).
That's strange. You...
December 18, 2017 at 9:23 am
December 18, 2017 at 5:48 am
All you've told us is that you have a job that sends an e-mail saying that a backup succeeded. Does the job actually do the backup as well? Please post...
December 18, 2017 at 5:21 am
Let's start with the basics before we even look at the logic of your query:
(1) Why are you passing in dates as varchar? You only need two parameters here:...
December 18, 2017 at 2:51 am
Another alternative, if it's an option for you, is to create a new schema. Call it something like ReadOnlyProcs. Put all of the stored procedures you describe into that schema...
December 18, 2017 at 2:37 am
Eamon
No, views don't have parameters. A stored procedure would work, although you'd need to use dynamic SQL. Make sure you understand, and guard against, SQL injection if you...
December 15, 2017 at 5:14 am
Indeed, and regarding tables getting loaded into memory, that doesn't necessarily happen at all. If the query optimizer finds a suitable index, that index will be used and the table...
December 14, 2017 at 4:19 am
Adil
Go with the syntax that Anthony posted. Like he said, it'll only have a small effect on the database, and it's certainly preferable to not knowing about corruption...
December 14, 2017 at 3:13 am
December 14, 2017 at 2:50 am
You could use the Windows task scheduler instead. By the way, don't back up to the C drive. Make sure backups go to a different disk from the operating system...
December 14, 2017 at 2:14 am
I typed "sql azure freeproccache" into my favourite search engine, and I found this. Does it help you?
John
December 13, 2017 at 2:51 am
How do you determine which Code1 is matched with which Code2 and which Code3 in your result set? Will all codes always have the same number of elements in?
December 12, 2017 at 1:06 am
December 11, 2017 at 9:25 am
Are any of the file names longer than the 30 characters you've allowed for in the #Dir table?
John
December 11, 2017 at 8:51 am
Viewing 15 posts - 1,021 through 1,035 (of 7,191 total)