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 7406961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:38:11+00:00 2026-05-29T05:38:11+00:00

How do I copy just the Scalar Functions from one Database to another? I’m

  • 0

How do I copy just the Scalar Functions from one Database to another? I’m not worried about copying any tables or data. I tried performing an Export Task but that seemed to only let me move tables.

  • 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-29T05:38:11+00:00Added an answer on May 29, 2026 at 5:38 am

    These steps were done on SQL Server 2008 R2 in SSMS.

    In short, I used Task -> Generate Scripts... instead of Script Database as -> Create To. The latter only returned a SQL script to create the Database (e.g. Create Database, Alter Database, and Filegroups) without creating any other objects in the Database (e.g. Tables, Views or Functions).

    Here are the exact steps with screenshots:

    1. Right click on the database with the functions you want and go to Generate Scripts
      Generate Scripts...

    2. Click through the first screen of the Wizard
      Wizard 1

    3. Choose User-Defined Functions
      Wizard 2

    4. Finish the wizard.

    Also, this answer, while it isn’t an exact corollary, prompted me to look for the Generate Scripts option.

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

Sidebar

Related Questions

So I want to copy just the data from a Prod database (SQL 2005)
I have two identical tables and need to copy rows from table to another.
How to copy from one text file to another text file? Here my current
I have thought about using WordPress – or maybe just copy a few functions
Is there any difference between Array.Copy and CopyTo ? Are they just overloaded?
I'm using wikitools package to parse the wikipedia. I just copy this example from
I know I can just copy all of my files from my development environment
This code is working in another Access db. I just copy pasted the code
How to make it so if one copy of a program is running another
Just copy this code from perl cook book 2nd ed pp. 796 it returns:

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.