Viewing 15 posts - 1,021 through 1,035 (of 7,187 total)
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
December 8, 2017 at 4:31 am
Please will you post the actual execution plan (.sqlplan file) for your query when you run it against the full data set?
John
December 6, 2017 at 7:07 am
What is the exact name of the performance counter they're reporting on?
61 out of 64GB seems rather high - you need to leave some for the operating system,...
December 6, 2017 at 5:07 am
ps_vbdev - Wednesday, December 6, 2017 4:45 AMThese tables are staging tables I populate daily, currently with no indexes or constraints.
I think...
December 6, 2017 at 5:00 am
Viewing 15 posts - 1,021 through 1,035 (of 7,187 total)