Viewing 15 posts - 871 through 885 (of 13,469 total)
i think it would be like this, right?
DECLARE @TermToTweak VARCHAR(30) = 'lowell@fake.com'
DECLARE @cmd VARCHAR(MAX) = 'EXECUTE AT(LinkedServer,''update P
set P.Email1 = ''' + @TermToTweak + '''
from MyDatabase.dbo.Profiles P
JOIN MyDatabase.dbo.Complaints C on...
July 29, 2016 at 1:26 pm
homebrew01 (7/29/2016)
The query runs on Server_A, via Linked Server to Server_B, where both tables reside.
If I...
July 29, 2016 at 12:49 pm
probably with a CASE statement;
something like this in your proc(assuming parameters are available for all four fields you mentione:
update Table1
SET Field1 = CASE WHEN @Field1 IS NULL THEN Field1...
July 29, 2016 at 12:39 pm
i use this to script out indexes,
I just tested it an Azure, no problems, of course.
i've excluded fillfactor in it, you could tweak the statement generation to whatever you...
July 29, 2016 at 10:43 am
thanks for the code review,m.martinelli! you've pointed out items taht made some vast improvements!
i incorporated all your ideas, but in my own coding style;
i had not tested against the newer...
July 29, 2016 at 8:35 am
Alan.B (7/28/2016)
July 28, 2016 at 8:16 pm
i use a variant of this to find procedures that take longer than 15 seconds, tune them one by one, and then lower my threshold until it's a diminishing return...
July 27, 2016 at 9:59 am
Linqpad[/url] is a good alternative; it supports a object explorer type of panel, and multiple tabs with syntax highlighting like SSMS does.
it's also "portable", meaning you don't have to...
July 25, 2016 at 12:46 pm
thanks for the info guys, i'm diging through the details now.
I've got a solid handle on what i was after now, a fresh set of eyes got me started.
I'll post...
July 25, 2016 at 9:30 am
a feature of almost all email programs is to not show images without extra user interaction, or not show from untrusted sources. check your application, and see if you can...
July 25, 2016 at 4:52 am
Will Stillwell (7/22/2016)
...the email body doesn't get populated AT ALL....
I'm betting you are not handling nulls correctly; you have to isnull every column as you build the string, so that...
July 22, 2016 at 1:04 pm
ahh, so you are using some custom data types you've created, right?
i had assumed the longest string datatype was "uniqueidentifier", and that's where the 16 came from.
good catch, i'll wiggle...
July 20, 2016 at 9:38 am
only a domain account can access server shares, so you'll need to change the service account that SQL is currently running under. NT Service\MSSQLSERVER is not a domain account, so...
July 16, 2016 at 1:28 pm
there's a nice confidence builder to get started:it's testing for basic proficiency with SQL Server.
MTA 98-364 Database Fundamentals is $115, and there is a track on Virtual Academy for...
July 13, 2016 at 10:27 am
I've seen upgraded packages change the delimiter to "_0x0044" or something like that, instead of leaving the original comma;
open the package, and review what the delimiter is in the package...
July 8, 2016 at 12:12 pm
Viewing 15 posts - 871 through 885 (of 13,469 total)