Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Naming conventions in SQL Server

Posted on 2009-03-30
4
Medium Priority
?
313 Views
Last Modified: 2012-05-06
Here is an easy one... I am not familiar with SQL Server but have some programming experience.  I was handed some documentation about a new system process we are going to use in SQl Server 2005 where it makes several references to things like "Exec UT_Load_Catalogs"  Is the "UT" a naming convention for a particular type of script or process in SS?  Thanks

0
Comment
Question by:snyperj
  • 2
4 Comments
 
LVL 29

Expert Comment

by:QPR
ID: 24024867
well "exec" (short for execute) would indicate that ut_load_catalogs is a stored procedure.
You "select" from a table, view or user defined function. You execute a stored procedure.
0
 
LVL 29

Accepted Solution

by:
QPR earned 2000 total points
ID: 24024874
not knowing what ut_load_catalogs does limits my response but perhaps....
UT = update table?
0
 
LVL 12

Expert Comment

by:udaya kumar laligondla
ID: 24024937
UT is used for Usage type. if you are using third party tool/library then they might have their own naming convention.
the following are some of the naming standards follwoed in SQL
XP      extended stored proc
via      view
Tr      trigger
sys%      system table
sp      stored procedure
more about naming conventions
http://www.sql-server-performance.com/articles/dev/sql_best_practices_p1.aspx
http://www.tek-tips.com/faqs.cfm?fid=5276
http://sqlserverpedia.com/wiki/T-SQL_Coding_and_Naming_Standards
0
 

Author Closing Comment

by:snyperj
ID: 31564609
That was it.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question