0

While generating script I'm able to select specific database object except Sequence. Is there any way to generate scripts for specific (or) all the available Sequence.

2
  • In SSMS you should be able to right-click a sequence in the object explorer and choose 'Script sequence as...' Commented Jan 3, 2017 at 7:42
  • Thank you. Is there any way to choose all the Sequences available in our DataBase? Commented Jan 3, 2017 at 8:44

1 Answer 1

1

In SSMS, press F7 or click view -> object explorer details: enter image description here

Then select the database, Programmability, Sequences, select all sequences, right click, and choose Script sequence as:

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

Hi @Zohar, Thank you. It is working fine.I will accept this as the correct answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.