Sign Up |  Live StatsLive Stats    Articles 35,345| Comments 159,790| Members 17,820, Newest waheguruhelpme| Online 190
Home Contact
 (Forgotten?): 
    Sikhism

   
                                                                     Your Banner Here!    

Primary Keys

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 400 USD, Received: 35 USD (9%)
Please Donate...
Related Topics...
Thread Thread Starter Forum Replies Last Post
The Ten Keys To Lasting Happiness Soul_jyot Spiritual Articles 2 07-Mar-2008 23:35 PM
send Keys problem Halocarbon Information Technology 6 28-Jul-2006 08:35 AM
Keys - I Keep losing my Keys, Any Ideas? TheNovice Information Technology 1 28-Jul-2006 08:18 AM
Send Keys Max Information Technology 1 28-Jul-2006 08:12 AM
Numeric Values for Primary Keys Only??? CMV Information Technology 1 28-Oct-2005 18:00 PM


Tags
primary, keys
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #73 (permalink)  
Old 28-Jul-2006, 08:36 AM
Terry Kreft's Avatar Terry Kreft
Guest
 
Posts: n/a
   
   
Re: Primary Keys

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Which says a bit more about you really.

David is not here to spoon feed you or anyone else, if he chooses not to
answer that is his prerogative. For you to make a totally unrelated
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/13100-primary-keys.html
conclusion from that shows either fallible logic on your part or a
determination to appear foolish.


--
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100

Terry Kreft


"Jamie Collins" wrote in message
news:1153141231.915566.175460@p79g2000cwp.googlegr oups.com...
>
> David W. Fenton wrote:
> > > Please do take the time take the time to enumerate the differences
> > > FOR JET

> >
> > No.

>
> I therefore conclude there are none.
>
> Jamie.
>
> --
>






 
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #74 (permalink)  
Old 28-Jul-2006, 08:36 AM
Jamie Collins's Avatar Jamie Collins
Guest
 
Posts: n/a
   
   
Re: Primary Keys


David W. Fenton wrote:
> But it's still not a non-unique *index*. It's just a non-unique
> field participating in a compound index.


I can't make up my mind whether you are confused, deliberately trying
to confuse the point or just have a confusing way with the English
language .

I think I may have mislead you by this:

....
start_date DATETIME DEFAULT NOW() NOT NULL,
end_date DATETIME,
....

I intended for start_date values to have no time element and for
end_date to be one granule of time before the next contiguous time
duration i.e.

....
start_date DATETIME DEFAULT DATE() NOT NULL,
CONSTRAINT salary_start_date__closed_period
CHECK (
HOUR(start_date) = 0
AND MINUTE(start_date) = 0
AND SECOND(start_date) = 0
),
end_date DATETIME,
CONSTRAINT salary_end_date__open_period
CHECK (
HOUR(end_date) = 23
AND MINUTE(end_date) = 59
AND SECOND(end_date) = 59
), ...

not to mention constraints to ensure non-overlapping periods for the
same employee, contiguous periods, ensuring the salary amount changes
between contiguous periods, etc but I wanted to keep it simple.

I'll try and be clear: my aim is to create a clustered index on
start_date (rather than not creating a not non-unique index on nothing
).

To get a clustered index in Jet, I must leverage the PRIMARY KEY
syntax.

Defining a PRIMARY KEY *constraint* causes the engine to create a
(non-maintained) clustered *index*.

My start_date column has no time elements i.e. all start dates commence
at midnight, making it suitable for clustering.

My start_date column is not unique in the table because more than one
employee can start receiving a salary amount effective on the same day.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100


To use start_date in the PK I need to append (i.e. to the right in the
PK definition) additional column(s) that will 'uniqueify' the
start_date column; this could be an autonumber column (if used) or
employee_number.

Beyond start_date it really doesn't matter which columns are included
as long as the compound is unique; put another way, I don't care that
the engine needs something as a 'tie breaker' for when the start_dates
coincide, I just want them to be clustered together.

I hope you can now understand my point and that any reply is a lot less
confused/confusing than your previous one.

Jamie.

--

Reply With Quote
  #75 (permalink)  
Old 28-Jul-2006, 08:36 AM
Jamie Collins's Avatar Jamie Collins
Guest
 
Posts: n/a
   
   
Re: Primary Keys


Terry Kreft wrote:
> David is not here to spoon feed you or anyone else,


Hey, plenty of people come here to get spoon fed. Why not me ?

> if he chooses not to
> answer that is his prerogative.


Not replying is one thing but for him to post back to say he is not
going to answer me...?

> For you to make a totally unrelated
> conclusion from that shows either fallible logic on your part or a
> determination to appear foolish.


Terry, I'm merely suspicious of someone who repeatedly takes the time
to say (quote), "I'm not going to take the time to enumerate the many
differences."

I genuinely believe the man is bluffing. You no doubt recall the last
time we had this attitude from him
(http://groups.google.com/group/micro...9225a5a30a2caa)
i.e. he alludes that he 'knows something' but won't deign to post it.

I'm sure everyone knows I'm not afraid of being made to look foolish
.

> Which says a bit more about you really.


I hope the message about me is, 'I will assert this position until
someone can show me I'm wrong.'

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100
I don't think there is much credit in saying (paraphrasing), 'I know
you are wrong but I will not attempt to demonstrate it.'
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100

Jamie.

--

Reply With Quote
  #76 (permalink)  
Old 28-Jul-2006, 08:36 AM
Jamie Collins's Avatar Jamie Collins
Guest
 
Posts: n/a
   
   
Re: Primary Keys


Terry Kreft wrote:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100
> David is not here to spoon feed you or anyone else


Actually, rather than the flippancy of my original reply, I think I
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100
should address that point.

I don't expect to be spoon fed, rather I would like people provide
something substantial (code demonstration, link to a MSDN article, etc)
to back up their assertions. I usually do so up front and always do so
when challenged, and humble pie is often dish of the day.

David has not even put up his short list, let alone tried to make it
stand up.

I'm put in mind of Fermat: "I have a truly marvellous proof of this
proposition which this margin is too narrow to contain."

Jamie.

--

Reply With Quote
  #77 (permalink)  
Old 28-Jul-2006, 08:36 AM
Terry Kreft's Avatar Terry Kreft
Guest
 
Posts: n/a
   
   
Re: Primary Keys

But that's David's choice whether he supplies that or not, you are free to
make any inference you like from his failure to reply but if you post that
inference then you leave yourself open to challenge. Your concluding remark
was not a reasonable conclusion from David's refusal to answer.


--
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100

Terry Kreft


"Jamie Collins" wrote in message
news:1153146556.387676.104580@h48g2000cwc.googlegr oups.com...
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100
>
> Terry Kreft wrote:


>I would like people provide
> something substantial (code demonstration, link to a MSDN article, etc)
> to back up their assertions. I usually do so up front and always do so
> when challenged, and humble pie is often dish of the day.
>
> David has not even put up his short list, let alone tried to make it
> stand up.
>
>
> Jamie.
>
> --
>



Reply With Quote
  #78 (permalink)  
Old 28-Jul-2006, 08:36 AM
Tim Marshall's Avatar Tim Marshall
Guest
 
Posts: n/a
   
   
Re: Primary Keys

Jamie Collins wrote:

> I genuinely believe the man is bluffing. You no doubt recall the last


Ummm, David Fenton bluffing? He very commendably doesn't stoop to flame
wars, so you must be talking about his Access/Jet/VBA knowledge. In
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100
which case, all due respect to you, Jamie, I'm afraid I'd have to
conclude your belief is erroneous. 8)
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Reply With Quote
  #79 (permalink)  
Old 28-Jul-2006, 08:36 AM
Larry Linson's Avatar Larry Linson
Guest
 
Posts: n/a
   
   
Re: Primary Keys

"Jamie Collins" wrote

> I genuinely believe the man is bluffing. You
> no doubt recall the last time we had this
> attitude from him


Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100
As Tim has said, "Your belief is erroneous."
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100

David does not "tolerate fools gladly" and his words are sometimes sharper
than I might write, but he "knows his stuff" when it comes to Access and
Jet.

Larry Linson



Reply With Quote
  #80 (permalink)  
Old 28-Jul-2006, 08:36 AM
David W. Fenton's Avatar David W. Fenton
Guest
 
Posts: n/a
   
   
Re: Primary Keys

"Jamie Collins" wrote in
news:1153145076.403381.106980@m79g2000cwm.googlegr oups.com:

> I genuinely believe the man is bluffing. You no doubt recall the
> last time we had this attitude from him
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100
> (http://groups.google.com/group/micro...ss/msg/499225a
> 5a30a2caa) i.e. he alludes that he 'knows something' but won't
> deign to post it.

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100

MessageIDs, please.

Otherwise, retract the allegation.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Reply With Quote
  #81 (permalink)  
Old 28-Jul-2006, 08:36 AM
David W. Fenton's Avatar David W. Fenton
Guest
 
Posts: n/a
   
   
Re: Primary Keys

  Donate Today!  
"Terry Kreft" wrote in
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100
news:ui7QTFcqGHA.3820@TK2MSFTNGP05.phx.gbl:

> But that's David's choice whether he supplies that or not, you are
> free to make any inference you like from his failure to reply but
> if you post that inference then you leave yourself open to
> challenge. Your concluding remark was not a reasonable conclusion
> from David's refusal to answer.


The reason I won't is that it would be rehashing material that's
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13100
been posted every time the topic of natural vs. surrogate keys has
come up. I don't see any point in posting something that would just
duplicate information that's been posted here dozens of times.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Gurbani Jukebox
Listen to Gurbani while surfing SPN!
» Active Discussions
sikhism Who is "Mohan"?
Today 08:46 AM
22 Replies, 335 Views
sikhism How important is Matha...
Today 08:12 AM
59 Replies, 1,038 Views
sikhism need urgent advice.......
Today 06:46 AM
6 Replies, 81 Views
sikhism ਨਾਮਾ
Today 06:37 AM
2 Replies, 53 Views
sikhism Sikh Diamonds Video...
Today 04:23 AM
6 Replies, 116 Views
sikhism Are Creator and Creation...
Today 01:30 AM
44 Replies, 2,837 Views
sikhism Herman Hesse,...
Today 00:54 AM
13 Replies, 229 Views
sikhism On a Scale of Most...
Yesterday 21:42 PM
30 Replies, 1,277 Views
sikhism I became victim by...
Yesterday 19:50 PM
0 Replies, 44 Views
sikhism Sikh Books downloads
Yesterday 15:39 PM
2 Replies, 66 Views
sikhism Salok Sheikh Farid ji...
Yesterday 09:35 AM
0 Replies, 47 Views
sikhism In Punjab, three farmers...
Yesterday 05:36 AM
0 Replies, 49 Views
sikhism Supernatural Sikhs, what...
Yesterday 03:45 AM
19 Replies, 414 Views
sikhism Sukhmani Sahib Astpadi...
26-May-2012 22:57 PM
0 Replies, 51 Views
Do You Think You Are...
26-May-2012 09:59 AM
94 Replies, 8,258 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.2

All times are GMT +6.5. The time now is 09:20 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.44940 seconds with 30 queries