Tuesday, February 06, 2018

Customizing the SQL Prompt Built-In Snippets: A Better 'ata' Snippet

DZone Database Zone
Customizing the SQL Prompt Built-In Snippets: A Better 'ata' Snippet
Customizing the SQL Prompt Built-In Snippets: A Better 'ata' Snippet

Snippets are a great feature of SQL Prompt. They save coding time and introduce standards and consistency to the way you build code modules. They have multiple replacement points (placeholders) for parameters and you can invoke them easily and from an SSMS query pane.

SQL Prompt also comes with many useful built-in snippets, but sometimes, we need to do some customization work to add the functionality we need. As an example, how might we improve the ALTER TABLE ADD snippet, 'ata'?

No comments:

Fun With SQL: Functions in Postgres

DZone Database Zone Fun With SQL: Functions in Postgres In our previous  Fun with SQL  post on the  Citus Data  blog, we covered w...