Solved

Naming conventions in SQL Server

Posted on 2009-03-30
4
281 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 500 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:udayakumarlm
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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