Solved

Naming conventions in SQL Server

Posted on 2009-03-30
4
256 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In this article I will describe the Copy Database Wizard 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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now