Click here to Skip to main content
15,922,309 members
Home / Discussions / Database
   

Database

 
QuestionFull Text Search Query Weird Results Pin
Brendan Vogt26-Jul-07 17:30
Brendan Vogt26-Jul-07 17:30 
AnswerRe: Full Text Search Query Weird Results Pin
Stathread26-Jul-07 18:54
Stathread26-Jul-07 18:54 
QuestionRe: Full Text Search Query Weird Results Pin
Brendan Vogt26-Jul-07 21:02
Brendan Vogt26-Jul-07 21:02 
QuestionRe: Full Text Search Query Weird Results Pin
Vinay Dornala26-Jul-07 18:55
Vinay Dornala26-Jul-07 18:55 
QuestionRe: Full Text Search Query Weird Results Pin
Brendan Vogt26-Jul-07 20:34
Brendan Vogt26-Jul-07 20:34 
AnswerRe: Full Text Search Query Weird Results Pin
Stathread27-Jul-07 2:56
Stathread27-Jul-07 2:56 
QuestionQuery problem Pin
firestoper26-Jul-07 17:03
firestoper26-Jul-07 17:03 
AnswerRe: Query problem Pin
Eliz.k26-Jul-07 23:51
Eliz.k26-Jul-07 23:51 
I believe it is because the HomeLocation is VARCHAR type while the HomePrice is MONEY type. I try the following and it works (LoginID is VARCHAR, UserID is INT):

DECLARE @sort NVARCHAR(50)
SET @sort ='LoginID'

SELECT * FROM tblUser
ORDER BY
CASE @sort
WHEN 'LoginID' THEN CONVERT(VARCHAR, LoginID)
WHEN 'UserID' THEN CONVERT(VARCHAR, UserID)
END





Eliz.K
www.oin1.com

GeneralRe: Query problem Pin
firestoper30-Jul-07 4:05
firestoper30-Jul-07 4:05 
GeneralRe: Query problem Pin
firestoper30-Jul-07 4:05
firestoper30-Jul-07 4:05 
QuestionFull Text Searching in SQL Server 2005 Pin
Brendan Vogt26-Jul-07 17:00
Brendan Vogt26-Jul-07 17:00 
Questioncolumn to row Pin
Shrita26-Jul-07 13:42
Shrita26-Jul-07 13:42 
QuestionHow to get the table size (Byte)? Pin
Khoramdin26-Jul-07 9:25
Khoramdin26-Jul-07 9:25 
AnswerRe: How to get the table size (Byte)? Pin
Krish - KP26-Jul-07 21:35
Krish - KP26-Jul-07 21:35 
QuestionSQL SELECT query Pin
xoxoxoxoxoxox26-Jul-07 7:09
xoxoxoxoxoxox26-Jul-07 7:09 
AnswerRe: SQL SELECT query Pin
andyharman26-Jul-07 7:32
professionalandyharman26-Jul-07 7:32 
AnswerRe: SQL SELECT query Pin
Krish - KP26-Jul-07 21:33
Krish - KP26-Jul-07 21:33 
QuestionSelect employees haveing thier birthday with in coming 2 weeks Pin
Vipin.d26-Jul-07 5:52
Vipin.d26-Jul-07 5:52 
AnswerRe: Select employees haveing thier birthday with in coming 2 weeks Pin
andyharman26-Jul-07 6:43
professionalandyharman26-Jul-07 6:43 
GeneralRe: Select employees haveing thier birthday with in coming 2 weeks Pin
Vipin.d27-Jul-07 20:47
Vipin.d27-Jul-07 20:47 
AnswerRe: Select employees haveing thier birthday with in coming 2 weeks Pin
Pete O'Hanlon26-Jul-07 8:53
mvePete O'Hanlon26-Jul-07 8:53 
GeneralRe: Select employees haveing thier birthday with in coming 2 weeks Pin
Vipin.d27-Jul-07 20:26
Vipin.d27-Jul-07 20:26 
GeneralRe: Select employees haveing thier birthday with in coming 2 weeks Pin
Pete O'Hanlon29-Jul-07 10:15
mvePete O'Hanlon29-Jul-07 10:15 
AnswerRe: Select employees haveing thier birthday with in coming 2 weeks Pin
Vipin.d27-Jul-07 20:48
Vipin.d27-Jul-07 20:48 
QuestionProblem with calling Scalar Function Pin
--miCZar--26-Jul-07 3:55
--miCZar--26-Jul-07 3:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.