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

Database

 
Questioncan we generate a trigger for two tables? Pin
laxman.m23-Jun-06 21:24
laxman.m23-Jun-06 21:24 
AnswerRe: can we generate a trigger for two tables? Pin
Mairaaj Khan23-Jun-06 23:56
professionalMairaaj Khan23-Jun-06 23:56 
Questionunused space Pin
manolomachin23-Jun-06 13:32
manolomachin23-Jun-06 13:32 
AnswerRe: unused space Pin
Mairaaj Khan23-Jun-06 23:41
professionalMairaaj Khan23-Jun-06 23:41 
GeneralRe: unused space Pin
manolomachin26-Jun-06 5:18
manolomachin26-Jun-06 5:18 
AnswerRe: unused space Pin
Mike Dimmick27-Jun-06 0:28
Mike Dimmick27-Jun-06 0:28 
GeneralRe: unused space Pin
manolomachin28-Jun-06 8:54
manolomachin28-Jun-06 8:54 
QuestionSQL Update problem I'm still having. Pin
PyroManiak23-Jun-06 8:59
PyroManiak23-Jun-06 8:59 
This is the error I get when I try to update. Some extra information I didn't include when I posted about this a while back is that I've got 2 forms, a main form with a dataset(this is mostly a "view" of what is returned by what the user clicks, no edit features), and I've got a simple edit form that lets the user change stuff in the table they want to edit. Each form uses its own dataset, but I've tried it with a shared dataset. If I make the 2nd form in its own project and run it as a stand alone to edit the table, it works just fine.
******************************************************************************
The query processor could not produce a query plan from the optimizer because a query cannot update a text, ntext, or image column and a clustering key at the same time.
******************************************************************************

Sample code that causes this error.

private void button1_Click(object sender, EventArgs e)
{
this.Validate();
this.tb.EndEdit();
this.tb.Update(this.DataSet.tb);
}

Form was created by using the drag and drop abilities of the data source. simple form, only 4 items in the table.

QuestionRe: SQL Update problem I'm still having. Pin
Alexander Wiseman23-Jun-06 9:15
Alexander Wiseman23-Jun-06 9:15 
AnswerRe: SQL Update problem I'm still having. Pin
PyroManiak23-Jun-06 9:53
PyroManiak23-Jun-06 9:53 
GeneralRe: SQL Update problem I'm still having. Pin
Alexander Wiseman23-Jun-06 10:59
Alexander Wiseman23-Jun-06 10:59 
GeneralRe: SQL Update problem I'm still having. Pin
PyroManiak23-Jun-06 12:35
PyroManiak23-Jun-06 12:35 
GeneralRe: SQL Update problem I'm still having. Pin
Alexander Wiseman23-Jun-06 13:20
Alexander Wiseman23-Jun-06 13:20 
Questiondatabase newbie; what do i need in order to accomplish the following simple application Pin
katsolimon23-Jun-06 6:19
katsolimon23-Jun-06 6:19 
AnswerRe: database newbie; what do i need in order to accomplish the following simple application Pin
Kschuler23-Jun-06 9:22
Kschuler23-Jun-06 9:22 
GeneralRe: database newbie; what do i need in order to accomplish the following simple application Pin
katsolimon23-Jun-06 11:21
katsolimon23-Jun-06 11:21 
QuestionAlter column? Pin
Kschuler23-Jun-06 6:16
Kschuler23-Jun-06 6:16 
AnswerRe: Alter column? Pin
Eric Dahlvang23-Jun-06 6:26
Eric Dahlvang23-Jun-06 6:26 
GeneralRe: Alter column? Pin
Kschuler23-Jun-06 8:57
Kschuler23-Jun-06 8:57 
Questionnot sure of advantages of functions over stored procedures Pin
sishya23-Jun-06 2:33
sishya23-Jun-06 2:33 
AnswerRe: not sure of advantages of functions over stored procedures Pin
J4amieC23-Jun-06 3:11
J4amieC23-Jun-06 3:11 
GeneralRe: not sure of advantages of functions over stored procedures Pin
Colin Angus Mackay23-Jun-06 3:42
Colin Angus Mackay23-Jun-06 3:42 
GeneralRe: not sure of advantages of functions over stored procedures Pin
J4amieC26-Jun-06 2:49
J4amieC26-Jun-06 2:49 
GeneralRe: not sure of advantages of functions over stored procedures Pin
Colin Angus Mackay26-Jun-06 8:25
Colin Angus Mackay26-Jun-06 8:25 
AnswerRe: not sure of advantages of functions over stored procedures Pin
Colin Angus Mackay23-Jun-06 3:48
Colin Angus Mackay23-Jun-06 3:48 

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.