In the past I've worked with MySQL, which is much more on my level of stupidity. I have tables, and (maybe) stored procedures (if using 5.x).
In SQL Server I have all this crap: aggregates, views, user defined types, user defined *data* types, database triggers, other triggers, extended properties, certificates, oh my.
I'm a coder, not a db admin. I'm assuming I don't need to worry about most of this shit, but I'd like to at least know what it is, but I'm having trouble finding info. I'm not a total n00b to databases but the docs just don't do it for me.
I dont' have formal training in databases, I'm guessing this is why I don't know anything. I know at least one person here (Dave) mentioned using SQL Server before, but I'm sure others have used it. Can someone tell me at least what these things are:
1) aggregates
2) views
3) triggers
exp with MS SQL Server?
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
1) SELECT COUNT(*) FROM table
- COUNT(*) is the aggregate
2) A custom-tailored way to restrict user access to a table based upon privileges, e.g. an employee can query the first name, last name and date of birth while a manager can also obtain the salary information.
3) Code stored in the database that gets executed when the entity it's attached to gets queried (triggered). The code can be executed before or after the actual query,

2) A custom-tailored way to restrict user access to a table based upon privileges, e.g. an employee can query the first name, last name and date of birth while a manager can also obtain the salary information.
3) Code stored in the database that gets executed when the entity it's attached to gets queried (triggered). The code can be executed before or after the actual query,