Viewing 15 posts - 1,846 through 1,860 (of 4,820 total)
Is this a remotely hosted solution, or do you have direct network access to the servers hosting Dynamics?
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 11:11 am
While it's helpful to post your code, we clearly don't have all of it (e.g. dbo.erf()), and you haven't mentioned what kind of performance you are actually getting, other than...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 11:03 am
Take the GO out of the middle of your code. You can't have a stored procedure extend beyond a batch terminator. There's no alternative.
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 10:47 am
I suspect there's an all math way to do it, but take a look at the following, which illustrates the process somewhat:DECLARE @TIME AS time = GETDATE();
DECLARE @TIME_2...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 10:35 am
Oops! Messed up the syntax. Here's the corrected version:DECLARE @BD AS varchar(40);
DECLARE @myobrano AS int = NULL;
DECLARE @sql AS nvarchar(max);
SELECT @BD = 'databasename.dbo'; Steve (aka sgmunson) 🙂 🙂 🙂
PRINT @BD;
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 9:40 am
Thanks so much for the thoughtful replies. I know I didn't articulate my actual...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 7:57 am
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 7:49 am
Many thanks for your help.
I try your script, but is returned this error:
Must declare...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 7:43 am
MS Access and the Agent are on the same box. The Access app runs...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 7:33 am
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 7:21 am
Ideally, post the execution plan as a .sqlplan file. What kind of JOINs are we talking about? INNER ? OUTER ? APPLY? Are the tables indexed? What are the indexes? ...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 7:15 am
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 7, 2017 at 7:10 am
And just what are you hoping to accomplish by doing that? It will happen on the same machine that the SQL Agent is running on, assuming that MS Access is...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 6, 2017 at 2:10 pm
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 6, 2017 at 2:01 pm
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 6, 2017 at 1:12 pm
Viewing 15 posts - 1,846 through 1,860 (of 4,820 total)