Viewing 15 posts - 46 through 60 (of 129 total)
Eugene Elutin (7/19/2010)
Other SQL developers may be not generaly using "SELECT * ..." in such situations...
Huh? I don't mean SELECT *
I mean solve the general dependency / refresh problem in...
July 19, 2010 at 4:00 pm
Wow, you beat me to it and with 10 less lines of code
I made one adjustment to your code (in the order by)
ORDER BY ABS(CAST(DATEADD(MINUTE, ROUND(DATEDIFF(MINUTE, 0, DateVal) / 60.0,...
July 19, 2010 at 3:43 pm
I wrote a tool for this type of dependency refresh problem
it calculates the dependency graph for a group of changing objects
and generates the correct dependency-aware script to refresh the objects
it...
July 19, 2010 at 1:29 pm
I'm not sure exactly what you're getting at with the DTC requirement where only one instance is involved. What's an example scenario there? Just interested!
I have only dabbled...
July 19, 2010 at 4:42 am
oh yes, good call - I never noticed they were deprecated, I was always fond of those
I don't use component services / mts etc. but
if sp_bindsession is gone that means...
July 19, 2010 at 4:06 am
you could use
sp_getbindtoken and sp_bindsession
and get access that way
can't see a good reason to though
July 19, 2010 at 2:10 am
You need to determine EXACTLY what is taking the time
I don't see any evidence of that determination in your post
Without a clearly defined problem there is no point in thinking...
July 18, 2010 at 4:22 pm
and visibility
#temp is only visible to the current session / connection
temp is visible to all sessions
July 18, 2010 at 4:14 pm
are you using this approach?
exec [server].[database].[schema].[procedure]
The text of the query time out error might be useful also
I also discovered:
- sql server remote query time out
- linked server query time out
-...
July 18, 2010 at 10:22 am
I think it is related to permissions
try changing MSSQLSERVER service login to "Local System"
on my box the problem went at that point
I still haven't located the exact problem yet -...
July 18, 2010 at 7:54 am
I think the username must be an identifier
that means not a variable or string literal
CREATE LOGIN superman -- OK
CREATE LOGIN 'superman' -- NOT OK
CREATE LOGIN @superman -- NOT OK
one of...
July 17, 2010 at 3:59 pm
My 2 cents
I never yet saw an automatic failover solution that made a good determination when to failover
I prefer for a fast manual failover
All servers are configured to perform all...
July 17, 2010 at 2:05 pm
provide a users explorer - one record per user
link to rights explorer one record per right filtered by 1 user
then provide a rights explorer - one record per right
link to...
July 17, 2010 at 1:53 pm
there are different time outs:
- connection time out (failure to open connection or receive handshake)
- command time out (failure to receive response from open connection)
- lock time out (failure to...
July 17, 2010 at 1:37 pm
if his post was a genuine attempt to contribute then I apologise
otherwise I can not apologise sincerely
July 17, 2010 at 2:56 am
Viewing 15 posts - 46 through 60 (of 129 total)