I have a table with column name Friendly_Name(varchar(250)) which displays the values for the query:
SELECT Workstations.Friendly_Name FROM Workstations WHERE Hits > 0 AND (Workstations.Friendly_Name LIKE '%') ORDER BY Workstations.Friendly_Name
192.168.5.1
192.168.5.10
192.168.5.11
192.168.5.111
192.168.5.112
cosupport1\admin
cosupport1\administrator
testlab1\admin11
testlab1\admin12
testlab1\admin14
testlab1\admin15
...Now I want the query to dispaly the records in the following order...
cosupport1\admin
cosupport1\administrator
testlab1\admin11
testlab1\admin12
testlab1\admin14
testlab1\admin15
192.168.5.1
192.168.5.10
192.168.5.11
192.168.5.111
192.168.5.112
Iam new to SQL Server and not familiar with buil in functions in SQL Server! Please help me!
Thanks in Advance!
2007-09-18
06:50:11
·
5 answers
·
asked by
Deepak K
1
in
Computers & Internet
➔ Programming & Design