Re: Using sqldataAdapter wizard has two warnings after running it

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Brendan Reynolds (brenreyn)
Date: 02/11/05


Date: Fri, 11 Feb 2005 15:04:00 -0000

http://www.miswebdesign.com/resources/articles/wrox-beginning-php-4-chapter-3-1.html

http://www.kcl.ac.uk/kis/support/cit/fortran/database/relation.pdf

http://cobweb.businesscollaborator.com/help/sec-8-0.html

-- 
Brendan Reynolds (MVP)
"Spencer H. Prue" <SpencerHPrue@discussions.microsoft.com> wrote in message 
news:E3EBFB27-FADD-410A-9284-E57ADB00E958@microsoft.com...
> By PK you mean the first column of the first table, correct? There is an
> option to designate a primary key. I used to have nvarchar as the "PK", 
> but
> the text was getting truncated, so I switched to ntext. By relational 
> design
> you mean the design of my database, am I right? Thanks.
>
> Spencer
>
> "William (Bill) Vaughn" wrote:
>
>> You have something fundamentally wrong with your design if you need to 
>> use a
>> TEXT or NTEXT variable as your primary key. VarChar can be up to 8000 
>> bytes
>> long, but a PK should be far shorter than that. A PK can also span 
>> several
>> columns, but again, I think you have something else wrong in the 
>> relational
>> design.
>>
>>
>> -- 
>> ____________________________________
>> William (Bill) Vaughn
>> Author, Mentor, Consultant
>> Microsoft MVP
>> www.betav.com
>> Please reply only to the newsgroup so that others can benefit.
>> This posting is provided "AS IS" with no warranties, and confers no 
>> rights.
>> __________________________________
>>
>> "William (Bill) Vaughn" <billvaRemoveThis@nwlink.com> wrote in message
>> news:%23cJHT1lDFHA.4020@TK2MSFTNGP14.phx.gbl...
>> > Do you have a primary key designated for these tables?
>> >
>> > -- 
>> > ____________________________________
>> > William (Bill) Vaughn
>> > Author, Mentor, Consultant
>> > Microsoft MVP
>> > www.betav.com
>> > Please reply only to the newsgroup so that others can benefit.
>> > This posting is provided "AS IS" with no warranties, and confers no
>> > rights.
>> > __________________________________
>> >
>> > "Spencer H. Prue" <SpencerHPrue@discussions.microsoft.com> wrote in
>> > message news:F664E8EF-56ED-4A2E-A320-6724176EA11D@microsoft.com...
>> >>I used the sqldataAdapter wizard and I got the following results.
>> >>
>> >> generated select statement
>> >> generated table mappings
>> >> generated insert statement
>> >>
>> >> generated update statement-could not determine which columns uniquely
>> >> identify the rows for "table1"
>> >>
>> >> generated delete statement-could not determine which columns uniquely
>> >> identify the rows for "table1"
>> >>
>> >> I set Missingmappingaction to Passhrough
>> >>       Missingschemaaction to Add
>> >>
>> >> What am I doing wrong? I am using MSDE 2000 for a database. Thanks.
>> >> -- 
>> >> Spencer
>> >
>> >
>>
>>
>> 


Relevant Pages

  • Re: This is brilliant! Just look how long it is! Ha ha ha ha ha ha
    ... First, Previous, Next, Last and paging buttons ... it is bad ui design to have page elements appearing and disappearing ... > Juan T. Llibre ... > ASP.NET MVP ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: responsiblity about MVC
    ... > Does MVC apply to the application design where the controls mentioned ... in MVP the model *and* view (wich includes ... With MVC, ... input and output are seperated but both the view and controler must be ...
    (comp.object)
  • Re: CSS For Dummies
    ... MVP Front Page ... replicate this exact design, nor for my site to have the sophistication it ... only guides that give the css for example. ... produce something like that layout - eventually. ...
    (microsoft.public.frontpage.programming)
  • Re: UI framework - design principles
    ... already pointed out that Morphic has some serious shortcomings, but I still think those are implementation details and not necessarily design errors. ... As far as I can judge Dolphin, and I'm not talking about MVP, does not really have a framework for creating custom widgets. ...
    (comp.lang.smalltalk.dolphin)
  • Re: "Cannot Open Volume for Direct Access"
    ... MS MVP (IE/OE) ... "Spencer" wrote in message ... > When I open CheckDisk and set it to Automatically fix file system errors ...
    (microsoft.public.windowsxp.general)