Click here to Skip to main content
15,887,436 members
Home / Discussions / Database
   

Database

 
GeneralRe: sql query Pin
leckey31-Oct-08 13:34
leckey31-Oct-08 13:34 
QuestionSQLBulkCopy with ODBC Pin
Member 251595529-Oct-08 20:00
Member 251595529-Oct-08 20:00 
AnswerRe: SQLBulkCopy with ODBC Pin
Wendelius30-Oct-08 8:10
mentorWendelius30-Oct-08 8:10 
QuestionExtract number from string Pin
kyi kyi29-Oct-08 15:36
kyi kyi29-Oct-08 15:36 
AnswerRe: Extract number from string Pin
Meysam Mahfouzi29-Oct-08 17:26
Meysam Mahfouzi29-Oct-08 17:26 
GeneralRe: Extract number from string Pin
kyi kyi29-Oct-08 18:06
kyi kyi29-Oct-08 18:06 
GeneralRe: Extract number from string Pin
Meysam Mahfouzi29-Oct-08 20:02
Meysam Mahfouzi29-Oct-08 20:02 
QuestionUsing SQL as categorized tagging backend Pin
jchalfant29-Oct-08 4:36
jchalfant29-Oct-08 4:36 
Background:
I've been requested to make an app that keeps track of complaint files that come in. These are non-standard and come in the form of PDF, doc, txt and xls. What needs to be tracked would be things like PO, Employee, Customer, etc. There can be multiple values to each of these or no value at all.

Problem:
Since I don't want to try to read from all of these files, I figure a categorized tagging system through SQL server might work. I'm somewhat reluctant to develop such a system, however, due to performance reasons.

Possible solutions:
The first solution I had in mind is using 3 tables. One table contains the file information. Another table contains the tag names. The third table relates to the file and tagname tables and holds the values of a tag associated with a file. I was thinking I could just index the column containing the tag values and query through it.

The second solution involves one table containing the file name, delimited string of tag names and a delimited string of tag values.

Issues:
I'm not sure how costly the first solution will be on the server. I'm not wanting full text indexing, just an index on one varchar(30-ish) column.

The second solution would be pretty simple to use regular expressions in my front-end to search through the values. But I wouldn't want to query against this since string comparisons are costly enough when they're straight 1-1.

Which of these would be the better way to go? Would I absolutely be raping my server if I implementing my first solution?

Any input is appreciated.
AnswerRe: Using SQL as categorized tagging backend Pin
Wendelius29-Oct-08 8:12
mentorWendelius29-Oct-08 8:12 
GeneralRe: Using SQL as categorized tagging backend Pin
jchalfant29-Oct-08 8:37
jchalfant29-Oct-08 8:37 
GeneralRe: Using SQL as categorized tagging backend Pin
Wendelius29-Oct-08 8:53
mentorWendelius29-Oct-08 8:53 
AnswerRe: Using SQL as categorized tagging backend Pin
Ashfield29-Oct-08 9:53
Ashfield29-Oct-08 9:53 
GeneralRe: Using SQL as categorized tagging backend Pin
Wendelius3-Nov-08 9:19
mentorWendelius3-Nov-08 9:19 
QuestionAlternative to SOUNDEX? Pin
Richard Jones29-Oct-08 3:54
Richard Jones29-Oct-08 3:54 
AnswerRe: Alternative to SOUNDEX? Pin
Wendelius29-Oct-08 8:05
mentorWendelius29-Oct-08 8:05 
GeneralRe: Alternative to SOUNDEX? Pin
Richard Jones29-Oct-08 9:15
Richard Jones29-Oct-08 9:15 
GeneralRe: Alternative to SOUNDEX? Pin
Wendelius29-Oct-08 9:36
mentorWendelius29-Oct-08 9:36 
GeneralRe: Alternative to SOUNDEX? Pin
Richard Jones29-Oct-08 9:40
Richard Jones29-Oct-08 9:40 
GeneralRe: Alternative to SOUNDEX? Pin
ChandraRam30-Oct-08 1:23
ChandraRam30-Oct-08 1:23 
QuestionSSIS - Multiple packages using the same sharepoint path Pin
notes4we29-Oct-08 3:03
notes4we29-Oct-08 3:03 
Questionhow to get in report watermark text Pin
imranafsari28-Oct-08 23:56
imranafsari28-Oct-08 23:56 
QuestionEmbedded Fire Bird - Programmatically creating a new database [solved] Pin
Harvey Saayman28-Oct-08 23:54
Harvey Saayman28-Oct-08 23:54 
Questionincrement number Pin
susanhalim28-Oct-08 21:35
susanhalim28-Oct-08 21:35 
AnswerRe: increment number Pin
notes4we29-Oct-08 3:09
notes4we29-Oct-08 3:09 
AnswerRe: increment number Pin
PIEBALDconsult29-Oct-08 5:05
mvePIEBALDconsult29-Oct-08 5:05 

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.