Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

temp table insertion

$
0
0

SELECT SERVERPROPERTY('ComputerNamePhysicalNetBIOS')  this returns the name of active server node


so if the name of the server is abc i want to return 1 in temp table if the name of the server is xyz i want 0

Please advise how can i do this


k



Viewing all articles
Browse latest Browse all 8428

Trending Articles