Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 571037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:27:54+00:00 2026-05-13T13:27:54+00:00

I created a SQL Server Project in VS2008 called ‘RegularExpression’.In that Project i created

  • 0

I created a SQL Server Project in VS2008 called ‘RegularExpression’.In that Project i created a ‘Regex.cs’ class and i wrote one function regarding Regular Expression.

Then i Build the solution.

Now My problem is to deploy this solution in SQL server 2008 through scripts.( not just clicking on Deploy in VS2008 ).

I succeeded up to deploy the assmebly of that project in SQL 2008 using CREATE ASSEMBLY <AName> FROM '<path of .dll>'

but iam not getting that function i wrote in VS2008 in SQL 2008 Function section.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:27:55+00:00Added an answer on May 13, 2026 at 1:27 pm
    CREATE ASSEMBLY [RegularExpression]
    AUTHORIZATION [dbo]
    FROM < DLL Path > 
    WITH PERMISSION_SET = SAFE
    GO
    
    /****** Object:  UserDefinedFunction [dbo].[Regex]    Script Date: 01/23/2010 15:08:01 ******/
    CREATE FUNCTION [dbo].[Regex](@Pattern [nvarchar](2000), @Input [nvarchar](2000))
    RETURNS [bit] WITH EXECUTE AS CALLER
    AS 
    EXTERNAL NAME [RegularExpression].[UserDefinedFunctions].[Regex]
    GO
    

    http://www.setfocus.com/technicalarticles/clrfunctionforsqlserver_2.aspx

    The above links helped a lot

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created a couple of maintenance plans on our Sql Server 2008 databases that
In a stored procedure, when is #Temptable created in SQL Server 2005? When creating
I need to enumerate all the user defined types created in a SQL Server
I have created a foreign key (in SQL Server) by: alter table company add
I've created a model using SQL Server Reporting Services. When I try to create
I have designed database tables (normalised, on an MS SQL server) and created a
I have to write a component that re-creates SQL Server tables (structure and data)
How do you create SQL Server 2005 stored procedure templates in SQL Server 2005
I want to create a SQL Server Express database on my local machine and
When I try to create a SQL Server Login by saying CREATE LOGIN [ourdomain\SQLAccessGroup]

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.