Viewing 15 posts - 1,366 through 1,380 (of 13,445 total)
ok i see what you are talking about now;Test/QA/Prod are all on the same box, it looks like.
let me throw some ideas;
can you modify the temp table to have...
November 9, 2015 at 2:14 pm
I saw your other thread where your global temp table was intermittently getting dropped....
i would suggest simply creating a real, permanent table. maybe in your production db to avoid permissions...
November 9, 2015 at 1:27 pm
since it's not physically attached, you have to jump through some hoops.
if you search for "map network drive for all users" you'll see the issue: shared drives ar eper user,...
November 9, 2015 at 11:28 am
the script provided just generates the commands, soy uo can review them easily.
you'd want to run the results of the commands, or stick them into a variable as a stack...
November 9, 2015 at 10:27 am
is your server clustered?
In that case, SQL can only see shared clustered drives.
if it's a plain old vanilla server, are you using a mapped drive? could the drive mapping be...
November 9, 2015 at 10:23 am
chuck i'm not a login on any server, i inherit from a group called mydomain\SQL-DBA, nad my name appears in the results of the script i provided.
you should be able...
November 9, 2015 at 9:50 am
it looks to me that you are merging into GiftCard, and not GiftCard_Transactions. the balance does not belong int he Gift Card table.
there's only one card, heck i'd think it...
November 9, 2015 at 5:32 am
what you are looking for is a SUM(CASE construct like this:
/*
Cust TotalCount TrueCount FalseCount
Na 2 2 ...
November 9, 2015 at 5:23 am
that is correct. there are no tests related to 2008-related certifications to take anymore, but there's it's new successors for the 2012 level platform.
they were superceded and replaced by...
November 9, 2015 at 5:20 am
i seem to remember that xp_cmdshell is limited to a single set of double quotes, right?
so "\path with spaces\oldname" "\path with spacesewname" might return an error?
November 6, 2015 at 9:47 am
global temp tables still get dropped when there are no more sessions at all, i believe.
from msdn i think, in my notes but not attributed:
a global temp table exists for...
November 6, 2015 at 9:44 am
a lot of the time, the GUI might not show you all possible datasets...you sometimes have to "KNOW" that a database exists.
you can run sp_tables_ex in SSMS to get details...
November 6, 2015 at 8:40 am
Thanks Anthony! I added that to my snippets; damn i love the teamwork here!
November 6, 2015 at 6:59 am
i use this to enumerate all members of all groups on a given server. then you can see when someone shows up in multiple groups.
IF OBJECT_ID('[tempdb].[dbo].[#TMP]') IS NOT NULL
DROP...
November 6, 2015 at 5:40 am
body is defined as nvarchar(max), so it's likely that you are getting some implicit conversions to nvarchar(4000) when you are building your htmlbody.
can you show the code that builds that?
that's...
November 4, 2015 at 9:12 am
Viewing 15 posts - 1,366 through 1,380 (of 13,445 total)