Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
SQL Server Articles
Submit Article
Home
»
Articles
»
SQL Server
»
System Functions
RSS Feeds
HOST_ID
Posted By:
Sarita Patel
Category:
SQL Server
Views:
2609
This article explains about HOST_ID function in sql server with examples.
HOST_ID function returns workstation identification number.
Syntax of HOST_ID Function :
HOST_ID ()
Return type
of HOST_ID function is a char(8).
Examples of HOST_ID Function :
Example 1 : Use of HOST_ID function in select clause
SELECT
HOST_ID ()
Output
13830
Above example returns workstation identification number.
Share:
Previous Post:
GETANSINULL Function
Next Post:
HOST_NAME Function
Didn't find what you were looking for? Find more on
HOST_ID
Or get
search suggestion and latest updates
.
Sarita Patel
author of HOST_ID is from
United States
.
View All Articles
Other Interesting Articles in SQL Server:
TYPEPROPERTY Function
LOG Function
Retrieving Columns with SELECT and FROM
STDEVP Function
@@CONNECTIONS - CONNECTIONS Function
FREETEXTTABLE Function
Examples of / ( Divide ) Operator
PERMISSIONS Function
POWER Function
Not Operator
@@NESTLEVEL - NESTLEVEL Function
String Functions
MIN Function
RTRIM Function
LEFT Function
@@TOTAL_ERRORS - TOTAL_ERRORS Function
SIN Function
OPENDATASOURCE Function
@@CURSOR_ROWS - CURSOR ROWS Function
USER Function
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
SQL Server
View All
Aggregate Functions
Analytical Functions
Configuration Function...
Constraints
Cursor
Cursor Functions
Data Control Language
Data Definition Lang
Data Manipulation Lang
Data Type
Database
Date Time Functions
Functions
Index
Interview FAQ
Joins
Math Functions
Meta Data Functions
Miscellaneous
Operator
Rowset Functions
Security Functions
Select Query
Sequence
Stored Procedures
String Functions
Sub Query
System Functions
System Statistical Fun...
Text and Image Functio...
Transaction Control La...
Trigger
View
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Unix / Linux / Ubuntu
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint