Click here to Skip to main content
15,912,400 members
Home / Discussions / Database
   

Database

 
QuestionInserting a row to a table Pin
clint198227-Jul-06 5:52
clint198227-Jul-06 5:52 
AnswerRe: Inserting a row to a table Pin
Colin Angus Mackay27-Jul-06 5:56
Colin Angus Mackay27-Jul-06 5:56 
QuestionSQL Server Insert Pin
clint198227-Jul-06 5:31
clint198227-Jul-06 5:31 
AnswerRe: SQL Server Insert Pin
Colin Angus Mackay27-Jul-06 5:36
Colin Angus Mackay27-Jul-06 5:36 
GeneralRe: SQL Server Insert Pin
clint198227-Jul-06 5:49
clint198227-Jul-06 5:49 
GeneralRe: SQL Server Insert Pin
Colin Angus Mackay27-Jul-06 5:54
Colin Angus Mackay27-Jul-06 5:54 
AnswerRe: SQL Server Insert Pin
Marc Soleda27-Jul-06 5:57
Marc Soleda27-Jul-06 5:57 
QuestionString Comparison in a Sql Statement Pin
TheJudeDude27-Jul-06 5:12
TheJudeDude27-Jul-06 5:12 
I have a sql statement were I am trying to do string comparison by passing a value.

SELECT CustName, CustAdd, CustCity, CustState, CustZip
FROM CustomerList
WHERE CustType = 1 OR CustType = 6 AND CustName >= @BNAME AND CustName <= @ENAME ORDER BY CustName
When the value passed is "z" and "z" it returns much more than that. Why is that so? Is it because the name is longer than "z"? How could I write this statement to work like I want it?

Thanx in advance

Jude

AnswerRe: String Comparison in a Sql Statement Pin
Paddy Boyd27-Jul-06 5:20
Paddy Boyd27-Jul-06 5:20 
GeneralRe: String Comparison in a Sql Statement Pin
TheJudeDude27-Jul-06 6:30
TheJudeDude27-Jul-06 6:30 
AnswerRe: String Comparison in a Sql Statement Pin
Mike Dimmick28-Jul-06 1:50
Mike Dimmick28-Jul-06 1:50 
GeneralRe: String Comparison in a Sql Statement Pin
TheJudeDude28-Jul-06 18:34
TheJudeDude28-Jul-06 18:34 
GeneralRe: String Comparison in a Sql Statement Pin
TheJudeDude28-Jul-06 22:39
TheJudeDude28-Jul-06 22:39 
QuestionNeed to programmatically discover name of relationship table Pin
LongRange.Shooter27-Jul-06 3:53
LongRange.Shooter27-Jul-06 3:53 
AnswerRe: Need to programmatically discover name of relationship table Pin
Rob Graham27-Jul-06 5:06
Rob Graham27-Jul-06 5:06 
AnswerRe: Need to programmatically discover name of relationship table Pin
Paddy Boyd27-Jul-06 5:11
Paddy Boyd27-Jul-06 5:11 
AnswerRe: Need to programmatically discover name of relationship table Pin
Paddy Boyd27-Jul-06 5:17
Paddy Boyd27-Jul-06 5:17 
GeneralRe: Need to programmatically discover name of relationship table Pin
LongRange.Shooter27-Jul-06 7:11
LongRange.Shooter27-Jul-06 7:11 
QuestionOSQL (ODBC) taking longer than (ISQL) DB Library Pin
benylegg227-Jul-06 2:56
benylegg227-Jul-06 2:56 
AnswerRe: OSQL (ODBC) taking longer than (ISQL) DB Library Pin
Mike Dimmick28-Jul-06 1:53
Mike Dimmick28-Jul-06 1:53 
Questionsql reporting services connection error Pin
TintinV3ck27-Jul-06 2:42
TintinV3ck27-Jul-06 2:42 
QuestionCode to find sql server vulnerabilties Pin
sfernandes27-Jul-06 0:57
sfernandes27-Jul-06 0:57 
AnswerRe: Code to find sql server vulnerabilties Pin
LongRange.Shooter27-Jul-06 3:58
LongRange.Shooter27-Jul-06 3:58 
QuestionAsking user for Database name Pin
Thanat0s426-Jul-06 18:35
Thanat0s426-Jul-06 18:35 
AnswerRe: Asking user for Database name Pin
Colin Angus Mackay27-Jul-06 2:18
Colin Angus Mackay27-Jul-06 2:18 

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.