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:
2634
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:
LOG Function
@@CPU_BUSY - CPU_BUSY Function
MATHEMATICAL Functions
>= ( Greater Than or Equal To ) Comparison Operator
DB_NAME Function
FLOOR Function
FILEGROUP_ID Function
STDEVP Function
@@IO_BUSY - IO_BUSY Function
Transfer Data of Table from One Database to Another
RAND Function
SESSION_USER Function
@@CONNECTIONS - CONNECTIONS Function
fn_helpcollations Function
APP_NAME Function
GETUTCDATE Function
= ( Equals ) Comparison operator
COUNT_BIG Function
Eliminating Duplicate Rows with DISTINCT
@@REMSERVER - REMSERVER 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