relational-database
Using NoSQL database for relational purpose
Non-relational databases are attracting more attention day by day. The main limitation is that today\'s complicated data are indeed connected. Isn\'t it convenient to connect databases as we connect t[详细]
2023-04-13 09:59 分类:问答Switching the values of two fields/columns in SQL Server without third variable
As a result of a mistake during an import to the a test table called CUSTOMERS, I found myself needing to switch the values of two columns in SQL Server.[详细]
2023-04-13 00:00 分类:问答Foreign key shortcuts in table
Imagine a schema as such. NOTE TABLE:NoteID, Note, DetailedTaskID, ..... DETAILED TASK TABLE:DetailedTaskID, WorkOrderID, .....[详细]
2023-04-12 21:10 分类:问答How can I replicate core data model using a traditional relational database?
I have my app using core data with the data model below.Howev开发者_如何学运维er, I\'m switching to a standard database with columns and rows.Can anyone help me with setting up this new database schem[详细]
2023-04-12 16:46 分类:问答Give user access to specific / followed articles?
So heres what I have and want to do.. I have a main \"users\" table. And then a \"records\" table. So when a user signs in, they see their records, but they only have access to specific records. Does[详细]
2023-04-12 16:32 分类:问答subtype or separate tables?
I have the following entities开发者_Python百科: Books, Authors, and Stores. Each of them can have a comments section. Should I store the comments in a separate table OR have a subtype/supertype desig[详细]
2023-04-12 13:34 分类:问答A lookup table for one-to-many relationship?
I understand that a lookup table is necessary when we are dealing with many-to-many relationship. But what about one-to-many relationship - do we need a lookup table or a foreign key in one of the ta[详细]
2023-04-12 06:30 分类:问答How hard can it be maintaining only single table for users of different roles
If you get to design a Database table for users, will stuffing all users with different role be best option in long term maintainability, database programming, web development. Take this situation as[详细]
2023-04-11 22:41 分类:问答mysql how to update a foreign key automatically
this is my tables CREATE TABLE IF NOT EXISTS `carslibrary` ( `CarID` int(10) unsigned NOT NULL AUTO_INCREMENT,[详细]
2023-04-11 06:36 分类:问答Query the contents of stored procedures on SQL Server
I am exploring a legacy database system and have very little knowledge of its internals. I would like to find all the stored procedures that invoke another stored proce开发者_开发技巧dure A.[详细]
2023-04-11 04:55 分类:问答