Click here to Skip to main content
15,886,199 members
Home / Discussions / Database
   

Database

 
GeneralRe: Stop SQL Pin
Colin Angus Mackay10-Jun-05 22:28
Colin Angus Mackay10-Jun-05 22:28 
GeneralRe: Stop SQL Pin
HahnTech11-Jun-05 12:21
HahnTech11-Jun-05 12:21 
GeneralRe: Stop SQL Pin
Atul Thakor13-Jun-05 23:01
sussAtul Thakor13-Jun-05 23:01 
GeneralConnecting mySQL to Dreamweaver Pin
crazypilot310-Jun-05 12:04
crazypilot310-Jun-05 12:04 
QuestionNHibernate - proper DELETE/UPDATE? Pin
devvvy9-Jun-05 18:00
devvvy9-Jun-05 18:00 
QuestionNHibernate Query Analyzer? Any Tutorial? Pin
devvvy9-Jun-05 17:22
devvvy9-Jun-05 17:22 
Generalremove space in data/string Pin
GoldenStar9-Jun-05 16:55
GoldenStar9-Jun-05 16:55 
GeneralRe: remove space in data/string Pin
Christian Graus9-Jun-05 17:16
protectorChristian Graus9-Jun-05 17:16 
GoldenStar wrote:
SELECT P.UniformItem, P.ProductCode, P.ProductSize, U.Description, U.Rank, U.RepPolicy
FROM tProductCode P INNER JOIN vUniformItemJoin U
ON Replace(P.UniformItem,' ','') = Replace(U.UniformItem,' ','')


Wow - you match using string values, and then call functions like this within your select statement ? You need to fix your database, I'd suggest that P and U should both have an index which represents a UniformItem, and then a table should match the index to a string representation. That's called database normalisation. If you're not going to do that ( and you should ), then you should at least massage data going in, so you don't need this sort of stuff making the most simple select statement messy.


Christian Graus - Microsoft MVP - C++
Generalread field description and display on webpage Pin
wpiass9-Jun-05 7:45
wpiass9-Jun-05 7:45 
GeneralError when export data from SQL to Ms Excel Pin
Mekong River9-Jun-05 3:59
Mekong River9-Jun-05 3:59 
GeneralRe: Error when export data from SQL to Ms Excel Pin
Lasse11-Jun-05 12:23
Lasse11-Jun-05 12:23 
GeneralConnecting to pastel using VB6.0 Pin
Member 20223418-Jun-05 23:17
Member 20223418-Jun-05 23:17 
GeneralRe: Connecting to pastel using VB6.0 Pin
toxcct9-Jun-05 5:43
toxcct9-Jun-05 5:43 
GeneralConvertings Tags to Attributes Pin
Tiger4568-Jun-05 22:18
Tiger4568-Jun-05 22:18 
GeneralRe: Convertings Tags to Attributes Pin
Robert Rohde12-Jun-05 3:22
Robert Rohde12-Jun-05 3:22 
Generalsql Pin
rohollahabadan8-Jun-05 21:21
rohollahabadan8-Jun-05 21:21 
GeneralRe: sql Pin
Colin Angus Mackay9-Jun-05 1:10
Colin Angus Mackay9-Jun-05 1:10 
GeneralRe: sql Pin
Vasudevan Deepak Kumar11-Jun-05 2:51
Vasudevan Deepak Kumar11-Jun-05 2:51 
GeneralWorking with stored procedure´s transactions in .NET Pin
riv_luis8-Jun-05 10:00
riv_luis8-Jun-05 10:00 
GeneralRe: Working with stored procedure´s transactions in .NET Pin
Colin Angus Mackay8-Jun-05 10:31
Colin Angus Mackay8-Jun-05 10:31 
GeneralRe: Working with stored procedure´s transactions in .NET Pin
riv_luis9-Jun-05 2:17
riv_luis9-Jun-05 2:17 
GeneralWeb Services Pin
RSootarsing8-Jun-05 2:59
RSootarsing8-Jun-05 2:59 
GeneralRe: Web Services Pin
Colin Angus Mackay8-Jun-05 6:45
Colin Angus Mackay8-Jun-05 6:45 
Generalsp with temptables doesnt work in crystal reports Pin
7-Jun-05 23:41
suss7-Jun-05 23:41 
GeneralRe: sp with temptables doesnt work in crystal reports Pin
WoutL8-Jun-05 20:58
WoutL8-Jun-05 20:58 

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.