Click here to Skip to main content
15,917,568 members
Home / Discussions / Database
   

Database

 
Questionhelp help help help h e l p Pin
LEARN_FOR_EVER7-Aug-06 23:59
LEARN_FOR_EVER7-Aug-06 23:59 
AnswerRe: help help help help h e l p Pin
_AK_8-Aug-06 0:07
_AK_8-Aug-06 0:07 
AnswerRe: help help help help h e l p Pin
PlayByTheRules8-Aug-06 1:38
PlayByTheRules8-Aug-06 1:38 
AnswerRe: help help help help h e l p Pin
Colin Angus Mackay8-Aug-06 1:40
Colin Angus Mackay8-Aug-06 1:40 
QuestionString comparison Pin
H he el el oooo7-Aug-06 22:34
H he el el oooo7-Aug-06 22:34 
AnswerRe: String comparison Pin
nguyenvhn8-Aug-06 0:03
nguyenvhn8-Aug-06 0:03 
GeneralRe: String comparison Pin
H he el el oooo8-Aug-06 0:50
H he el el oooo8-Aug-06 0:50 
AnswerRe: String comparison Pin
Eric Dahlvang8-Aug-06 3:21
Eric Dahlvang8-Aug-06 3:21 
select Password <br />
from tblUser <br />
where username='User1' and cast(password as binary)=cast('Password' as binary)


Run this little test in the SQL Query Analyzer:

declare @cTest1 varchar(10)
declare @cTest2 varchar(10)

select @cTest1 = 'test'
select @cTest2 = 'Test'

if (@cTest1 = @cTest2)
	print 'They are equal as varchar'
else
	print 'They are NOT equal as varchar'

if (cast(@cTest1 as binary) = cast(@cTest2 as binary))
	print 'They are equal as binary'
else
	print 'They are NOT equal as binary'


--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters

AnswerRe: String comparison Pin
Rob Graham9-Aug-06 2:25
Rob Graham9-Aug-06 2:25 
QuestionDateTime Conversion!!! Pin
psamy7-Aug-06 22:34
psamy7-Aug-06 22:34 
AnswerRe: DateTime Conversion!!! [modified] Pin
Frank Kerrigan8-Aug-06 1:05
Frank Kerrigan8-Aug-06 1:05 
AnswerRe: DateTime Conversion!!! [modified] Pin
Mike Dimmick8-Aug-06 2:48
Mike Dimmick8-Aug-06 2:48 
Questionrandom row Pin
md_refay7-Aug-06 19:31
md_refay7-Aug-06 19:31 
AnswerRe: random row Pin
_AK_7-Aug-06 19:54
_AK_7-Aug-06 19:54 
GeneralRe: random row Pin
Colin Angus Mackay7-Aug-06 22:05
Colin Angus Mackay7-Aug-06 22:05 
GeneralRe: random row Pin
_AK_7-Aug-06 22:22
_AK_7-Aug-06 22:22 
AnswerRe: random row Pin
albCode7-Aug-06 21:15
albCode7-Aug-06 21:15 
AnswerRe: random row Pin
Eric Dahlvang8-Aug-06 3:56
Eric Dahlvang8-Aug-06 3:56 
QuestionWhat would you solve the is scenario [modified] Pin
Skanless7-Aug-06 18:41
Skanless7-Aug-06 18:41 
AnswerRe: What would you solve the is scenario Pin
Frank Kerrigan8-Aug-06 2:43
Frank Kerrigan8-Aug-06 2:43 
QuestionUpdating a dataset from a datagrid Pin
TheJudeDude7-Aug-06 10:25
TheJudeDude7-Aug-06 10:25 
AnswerRe: Updating a dataset from a datagrid Pin
Frank Kerrigan8-Aug-06 1:10
Frank Kerrigan8-Aug-06 1:10 
GeneralRe: Updating a dataset from a datagrid Pin
TheJudeDude8-Aug-06 6:24
TheJudeDude8-Aug-06 6:24 
QuestionSQL Query Order of Execution Pin
Rajkamal_dfine7-Aug-06 3:36
Rajkamal_dfine7-Aug-06 3:36 
AnswerRe: SQL Query Order of Execution Pin
Colin Angus Mackay7-Aug-06 3:54
Colin Angus Mackay7-Aug-06 3:54 

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.