Viewing 15 posts - 14,476 through 14,490 (of 14,953 total)
First, it's not a "n00b" question. There are some complex things that have to be taken into account for this kind of thing.
Now, on to the meat of the...
March 26, 2008 at 11:43 am
bell_vbdev (3/26/2008)
I use the flag approach when I have to undelete through the application.Otherwise, delete with or without archiving or change history is fine.
It depends on the system requirements.
An "Undelete"...
March 26, 2008 at 9:53 am
BobM (3/25/2008)
So there is no 'inline' way to update a value before it gets written? Would the update in your trigger cause the same trigger to fire...
March 25, 2008 at 3:05 pm
It is often helpful to include the error messages you are getting. Or at least a summary of them. For example, if you are getting "divide by 0"...
March 25, 2008 at 2:56 pm
I don't keep any history tables in the same database. They bulk up backups for no good reason. When I log updates/deletes/inserts, I do so in a separate...
March 25, 2008 at 2:51 pm
It seems to me that the best way to do this would be separate tables for separate categories of rules.
Really, I'd have to know more about the application to say...
March 25, 2008 at 2:47 pm
I prefer physical deletion and logging.
Flagging data (virtual deletion) means that every single piece of code, every query, every update, etc., all has to take the flag into account. ...
March 25, 2008 at 1:30 pm
Chris Gierlack (3/25/2008)
1) LIKE %nn%
2) LIKE %nn
3) LIKE nn%
1 and 2 took...
March 25, 2008 at 12:31 pm
I do test restores at least weekly. Usually more often than that.
March 25, 2008 at 12:21 pm
Steve Jones - Editor (3/22/2008)
I use WITH INIT...
March 25, 2008 at 7:07 am
I tested this over the weekend. Here's what I came up with:
create table Contacts (
ID int identity primary key,
Name varchar(100))
go
insert into dbo.contacts (name)
select top 1000000 clean
from dbo.numbercleanb
go
create table ContactsRelations...
March 25, 2008 at 6:50 am
SSIS can do both of these things.
You can also do them with Open Rowset, if you open that up in the Surface Area Configuration Manager.
Books Online has good data on...
March 21, 2008 at 12:45 pm
Yep, just tested it and you cannot create an indexed view on Union All.
Testing other solutions now.
March 21, 2008 at 12:24 pm
Viewing 15 posts - 14,476 through 14,490 (of 14,953 total)