Adobe Dreamweaver Forums



Last 10 THreads :         Flash Player 10 Crash (Last Post : saurabhgsl - Replies : 0 - Views : 1 )           »          Re: LingoWorkshop slider menu (Last Post : openspark - Replies : 0 - Views : 1 )           »          Capture full URL with CF CGI variable (Last Post : Azadi - Replies : 2 - Views : 3 )           »          Centering a site using layers in browser window (Last Post : malcster2 - Replies : 2 - Views : 3 )           »          Flash/Flex Shopping Carts - A flawed concept ? (Last Post : gazmcghee - Replies : 5 - Views : 20 )           »          Open SWF from another SWF in new Flash Player (Last Post : Jimmy M - Replies : 0 - Views : 1 )           »          How do I open te files in older versions of Director? (Last Post : thaisdoro - Replies : 0 - Views : 1 )           »          Load .exe file into Flash (Last Post : FlashJester Support Team - Replies : 1 - Views : 3 )           »          Create a link to open a .exe file (Last Post : FlashJester Support Team - Replies : 1 - Views : 2 )           »          Change html page image by the month (Last Post : malcster2 - Replies : 9 - Views : 10 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Cold Fusion
 
Tags:



Reply
  #1 (permalink)  
Old 10-07-2008, 09:54 PM
Abdlah
 
Posts: n/a
Diggs:
Default ID for oft deleted data

I am created an ad site where people can upload an ad to stay for two weeks
before being automatically deleted. I first thought of using auto increment to
create the product Id, but I realize that this would cause problems later when
their record is deleted.

I need advise on the best way to create an appropriate product ID in a
scenario where the id field will constantly change (updated). When a record it
deleted it ID could be used again.

Thanks



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-08-2008, 12:22 AM
Dan Bracuk
 
Posts: n/a
Diggs:
Default Re: ID for oft deleted data

I don't see what problems it would create. But, if you want to use something else, how about making the field char(35) and create uuids to get the values.


Reply With Quote
Reply


Thread Tools
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

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



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:15 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk