Viewing 15 posts - 916 through 930 (of 964 total)
Pavel Spálený (7/20/2008)
CREATE ASSEMBLY SystemWeb from 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Web.dll'
with permission_set = unsafe
System.Web is unsupported in SQL Server for a reason. Even if you can get it loaded, you can't get...
July 20, 2008 at 5:59 pm
rbarryyoung (7/20/2008)
FYI: sp_MakeWebTask is deprecated in 2005 and supposedly removed in 2008 (I haven't checked this).
So far it still exists in SQL 2008.
July 20, 2008 at 5:30 pm
Ryan,
I haven't ever actually implemented one, but I am certain that it would be fairly complex, given the fact that there is no international standard, and not all timezones participate...
July 17, 2008 at 1:28 pm
You can do this from TSQL by building your app as a Console Application that accepts CommandLine arguments, and then calling that app from xp_cmdshell inside a stored procedure with...
July 17, 2008 at 9:25 am
I guess to me and probably most people the question back to you would be why do you want to do this from TSQL? This isn't a task that...
July 17, 2008 at 8:11 am
Rather than store the name, why don't you store the offset from UTC? Or you can create a lookup table with the Name/Offset pair and use an ID field...
July 17, 2008 at 8:04 am
Is it always going to be based on the SQL Servers Local Time Zone?
July 17, 2008 at 7:58 am
This might help you some, but here is a function that gets the current UTC Time:
[Microsoft.SqlServer.Server.SqlFunction]
public static SqlDateTime UTCTimeConversion()
...
July 16, 2008 at 10:36 pm
What are you doing in the procedure before the connection portion you show here? It is almost impossible to look at this small a piece of code and offer...
July 16, 2008 at 7:13 pm
Generally, you would have issued a CREATE ASSEMBLY for your referenced assembly as well in SQL Server. If you do an auto deploy from VS 2005 it may have...
July 16, 2008 at 2:42 pm
You can not use SMO inside of SQLCLR. Seems counter intuitive, but it has to do with SMO not supporting partially trusted callers and using special type of connection...
July 16, 2008 at 12:49 pm
You have pretty much defined your problem correctly, so all you have to do is implement the changes you mention. What problems have you encountered implementing this, and what...
July 15, 2008 at 3:16 pm
Steve,
I am not sure why that won't work for you, but here is another link:
http://msdn.microsoft.com/en-us/library/ms345124.aspx
If that doesn't work, you can google "SQL Server 2005 Row Versioning-Based Transaction Isolation" and it...
July 15, 2008 at 12:18 pm
GilaMonster (7/14/2008)
Up until now, I've considered this kind of deadlock theoretically possibel, but not likely to occur in a real system, due to the frequency of queries necessary.
But I did...
July 15, 2008 at 8:53 am
Start by checking firewall settings on both ends. Windows firewall blocks SQL by default I believe, so you have to allow it to come through.
July 14, 2008 at 1:35 pm
Viewing 15 posts - 916 through 930 (of 964 total)