Click here to Skip to main content
15,914,066 members
Home / Discussions / Database
   

Database

 
GeneralRe: Updating Field Length of a Fields in Sql Server 2005 Pin
Mycroft Holmes8-Feb-09 21:53
professionalMycroft Holmes8-Feb-09 21:53 
GeneralRe: Updating Field Length of a Fields in Sql Server 2005 Pin
εїзεїзεїз8-Feb-09 22:00
εїзεїзεїз8-Feb-09 22:00 
QuestionSuggestion for Database model to store multiple value types Pin
Jani Giannoudis7-Feb-09 5:30
mvaJani Giannoudis7-Feb-09 5:30 
AnswerRe: Suggestion for Database model to store multiple value types Pin
Wendelius9-Feb-09 6:08
mentorWendelius9-Feb-09 6:08 
QuestionRe: Suggestion for Database model to store multiple value types Pin
Jani Giannoudis9-Feb-09 6:21
mvaJani Giannoudis9-Feb-09 6:21 
AnswerRe: Suggestion for Database model to store multiple value types Pin
Wendelius9-Feb-09 6:41
mentorWendelius9-Feb-09 6:41 
QuestionDelete Records Pin
Hemant Thaker7-Feb-09 0:59
Hemant Thaker7-Feb-09 0:59 
AnswerRe: Delete Records Pin
Vimalsoft(Pty) Ltd8-Feb-09 21:41
professionalVimalsoft(Pty) Ltd8-Feb-09 21:41 
Am not Sure which is the wise way to do that , i think Colin and the codeProject stuff might help you because their forums is like that. but i have seen that here at codeProject, when a user Deletes a Message, the submessages still remains , you want to get rid of that. I think when you store messages, if you say Queid holds the Parents reference, then you cna use your Primary key and the queid to delete the Message with its submessages in sql you cna do something like this

Your SQL must do two things

Delete the Main Message using the "ID"

and

Delete the Child messages based on the Parent ID and the Parents Queid


The way you have design your table is confusing, this should have been separated into tables , your table is not normalized , you will always have problems working on the table, some info needs to be separated.

Vuyiswa Maseko,

Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za


Questionpasswords and varbinary in sql server... Pin
l a u r e n6-Feb-09 4:21
l a u r e n6-Feb-09 4:21 
AnswerRe: passwords and varbinary in sql server... Pin
Ennis Ray Lynch, Jr.6-Feb-09 7:23
Ennis Ray Lynch, Jr.6-Feb-09 7:23 
GeneralRe: passwords and varbinary in sql server... Pin
l a u r e n6-Feb-09 7:38
l a u r e n6-Feb-09 7:38 
GeneralRe: passwords and varbinary in sql server... Pin
Ennis Ray Lynch, Jr.6-Feb-09 7:42
Ennis Ray Lynch, Jr.6-Feb-09 7:42 
GeneralRe: passwords and varbinary in sql server... Pin
l a u r e n6-Feb-09 7:47
l a u r e n6-Feb-09 7:47 
QuestionMAX statement Pin
5fingers6-Feb-09 1:24
5fingers6-Feb-09 1:24 
AnswerRe: MAX statement Pin
Rupesh Kumar Swami6-Feb-09 1:36
Rupesh Kumar Swami6-Feb-09 1:36 
GeneralRe: MAX statement Pin
5fingers6-Feb-09 1:52
5fingers6-Feb-09 1:52 
AnswerRe: MAX statement Pin
l a u r e n6-Feb-09 4:41
l a u r e n6-Feb-09 4:41 
Questionhow to acess remote ms sql 2000 server Pin
schandrashekhar6-Feb-09 0:10
schandrashekhar6-Feb-09 0:10 
AnswerRe: how to acess remote ms sql 2000 server Pin
SeMartens6-Feb-09 1:34
SeMartens6-Feb-09 1:34 
QuestionReading from AS400 [modified] Pin
Giorgi Dalakishvili5-Feb-09 23:32
mentorGiorgi Dalakishvili5-Feb-09 23:32 
AnswerRe: Reading from AS400 Pin
Wendelius9-Feb-09 6:04
mentorWendelius9-Feb-09 6:04 
GeneralRe: Reading from AS400 Pin
Giorgi Dalakishvili9-Feb-09 6:21
mentorGiorgi Dalakishvili9-Feb-09 6:21 
GeneralRe: Reading from AS400 Pin
Wendelius9-Feb-09 6:43
mentorWendelius9-Feb-09 6:43 
Questioninstall the OSQL tool on the client machine Pin
sunil goyalG5-Feb-09 23:13
sunil goyalG5-Feb-09 23:13 
QuestionSQL Server 2005 pending open transaction Pin
sujithkumarsl5-Feb-09 19:24
sujithkumarsl5-Feb-09 19:24 

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.