var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Online SQL reference
Does anyone know of a quick online SQL reference or a dictionary of terms and sample strings?
A co-worker just introduced me to a good, lightweight SQL site that sounds like what you want. Check out http://sqlzoo.net/howto/source/s.pl.htm and please let me know what you think.
you didn't know about sqlzoo before?
it's got a really nice interactive feature -- you can test your sql in multiple different database systems
great for learning the different sql dialects
there are links to all the different SQL Reference manuals on the home page -- http://sqlzoo.net/
for additional SQL references, see my SQL Links page
(note to self: man, i gotta check those links and update that page, it's been almost a year, and i have a whole bunch of new ones to add!!)
I'm a hard core geek, and I lead a rather sheltered life... What can i say?
Originally Posted by r937
Thanks, Pat. That's basically what I was looking for.
I can't seem to find any info. on the query I'm trying...
This is in Access and what I want to do is go through my tables and only keep five records.
I realize that's wrong and the only way I can get it to work is to specify key fields from the table:
DELETE * FROM Table1 WHERE ... NOT IN
(SELECT TOP 5 * FROM Table1)
The problem with that is the key_field is different for every table and I have about 500 tables I need to do this for. I need a more generic way to delete the records so I can reuse the query.
DELETE * FROM Table1 WHERE key_field NOT IN
(SELECT TOP 5 key_field FROM Table1
ORDER BY key_field)