Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-17-2022, 06:01 PM   #1
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
integers vs comma seperated text, like tags custom columns

Hello,

I'm making a chapter custom column and I'm not sure which option to select. Are there downsides to use "comma separated text, like tags, shown in the tag browser" compared to using just integers?

I assumed the stuff showing up in the tag browser would use more database resources?

Thanks,
Amalthia
Amalthia is offline   Reply With Quote
Old 09-17-2022, 08:24 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,835
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Personally, I used integers for my #chaptercount column.

They take up the same amount of database resources.

Integer column is for numbers. If you think you may want to use arithmetic on the numbers in the future, use Integer.

You can put numbers in a text column, but there it'll be more treated like a string of characters. The main disadvantage is that it may not sort the way you expect.
ownedbycats is online now   Reply With Quote
Advert
Old 09-18-2022, 01:59 AM   #3
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by ownedbycats View Post
Personally, I used integers for my #chaptercount column.

They take up the same amount of database resources.

Integer column is for numbers. If you think you may want to use arithmetic on the numbers in the future, use Integer.

You can put numbers in a text column, but there it'll be more treated like a string of characters. The main disadvantage is that it may not sort the way you expect.
Thanks for the input. I decided to go with integers.
Amalthia is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Template: sum of multiple integers from other columns Quuzuu Library Management 4 01-17-2021 04:35 PM
Can I print a list of tags and custom columns created in Calibre? KimbreLee Calibre 7 03-15-2019 04:07 PM
Custom column - Comma separated text MerlinMama Library Management 4 09-17-2015 02:34 PM
custom columns from only certain tags areyou Library Management 2 12-15-2012 05:33 AM
Custom columns vs tags Artha Calibre 3 11-22-2011 09:25 AM


All times are GMT -4. The time now is 05:00 PM.


MobileRead.com is a privately owned, operated and funded community.