Viewing 15 posts - 901 through 915 (of 964 total)
You can find the syntax reference here:
August 1, 2008 at 12:07 pm
Jeff is looking to find out what you are trying to use CLR for. If it is just string splitting, unless you are using extremely long strings, that extend well...
August 1, 2008 at 6:56 am
While you can do threading in SQLCLR, it is UNSAFE and not recommended. This seems like a job for a SSIS package and a staging table to me. ...
July 30, 2008 at 9:09 pm
You need to post the .NET code associated with the Exception for us to assist with this. It sounds like a simple syntax error, but I can't tell without...
July 28, 2008 at 6:57 am
Jeff,
Perhaps in my attempt to demonstrate an overly simplistic TSQL Example, I made it far to simple. The OP wants to SELECT a value from any column in a...
July 23, 2008 at 11:45 pm
Consider the following example:
CREATE PROCEDURE uspGetObjectIDFromName
(
@ObjectName sysname,
@OutputValue varchar(1000) output
)
AS
DECLARE @sql nvarchar(max)
SET @sql = 'SELECT @Output=convert(varchar(1000), '+@objectname+')
FROM sys.objects
WHERE name = ''sysfiles1'''
DECLARE @params nvarchar(max)
July 23, 2008 at 11:14 pm
There are a couple of ways to do this. Just using standard TSQL, you can use XP_REGREAD to read the registry key for the instance root key:
HKLM\Software\Microsoft\Microsoft SQL Server\Instance...
July 23, 2008 at 8:27 am
Jeff Moden (7/23/2008)
OK... maybe I'm missing something, but why would you want to do that with a CLR? :blink:
Nope, I am wondering the exact same thing.
It was the...
July 23, 2008 at 6:35 am
Muhammad Furqan (7/22/2008)
command.ExecuteScalar().toString()
but i was not handling what to do if "command.ExecuteScalar()" doesnt return...
July 22, 2008 at 6:58 am
What version of Oracle and is SQL running on x64 or x86?
July 21, 2008 at 10:51 am
It is impossible to really provide a good answer to your question about whether to index the view or not without seeing execution plans and other information. I would...
July 21, 2008 at 9:48 am
Enabling CLR doesn't do anything in reality, it just allows CLR to work if it exists in the database. You can create assemblies in SQL even with CLR disabled,...
July 21, 2008 at 9:44 am
rbarryyoung (7/20/2008)
July 21, 2008 at 9:32 am
rbarryyoung (7/20/2008)
July 20, 2008 at 8:42 pm
Viewing 15 posts - 901 through 915 (of 964 total)