rdbms-agnostic Questions

5

Solved

Sorry for the ignorant question, but what kind of applications wouldn't require an ACID compliant database server? I have a SQL Server background where ACID has always "been there", and now researc...
Pt asked 25/4, 2011 at 18:15

14

Solved

I'm just trying to get a general idea of what views are used for in RDBMSes. That is to say, I know what a view is and how to make one. I also know what I've used them for in the past. But I want t...
Tinytinya asked 17/10, 2008 at 23:3

12

Solved

You often see database fields set to have a magnitude of 255 characters, what is the traditional / historic reason why? I assume it's something to do with paging / memory limits, and performance bu...
Baseless asked 26/2, 2010 at 9:40

4

Solved

I am working on an online survey. Most questions have a scale of 1-5 for an answer. If we need to add a question to the survey, I use a simple web form, which does an INSERT into the appropriate ta...
Newton asked 19/11, 2009 at 16:11

1

Solved

Just found out that Oracle does not like it when you use the AS keyword to alias a subquery: SELECT * FROM (SELECT * FROM products) AS p I need to keep my SQL queries as portable as possible. Wi...
Wisteria asked 9/12, 2013 at 19:36

6

Solved

In SQL Server 2005 I just struck the infamous error message: Introducing FOREIGN KEY constraint XXX on table YYY may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UP...
Ferreby asked 28/10, 2009 at 14:41

1

Solved

I am migrating data from one database schema to another. The old schema has a categorization system based on an adjacency list, with id, category, and parent_id. If one category is under a second, ...

7

Solved

Can we get a list of basic optimization techniques going (anything from modeling to querying, creating indexes, views to query optimization). It would be nice to have a list of these, one technique...
Ruffle asked 25/4, 2010 at 21:18

8

Solved

I often see people who write SQL like this: SELECT * from TableA LEFT OUTER JOIN TableB ON (ID1=I2) I myself write simply: SELECT * from TableA LEFT JOIN TableB ON (ID1=I2) To me the "OUTER" ...
Quadrat asked 16/11, 2009 at 11:28

17

My company has me working on finishing a back end for Oracle for a Python ORM. I'm amazed at how much differently RDBMSes do things even for the simple stuff. I've learned a lot about the differenc...
Arrival asked 30/6, 2009 at 14:3

4

Solved

I recently sped up a complicated query by an order of magnitude by giving SQLite a good index to work with. Results like this make me wonder if I should index a lot of other fields that are commonl...
Abridgment asked 18/4, 2009 at 21:8
1

© 2022 - 2024 — McMap. All rights reserved.