Viewing 15 posts - 5,236 through 5,250 (of 5,393 total)
Try with INSTEAD OF triggers.
When a table has this kind of trigger, data is not inserted by the statement directly, but you have to insert data from the INSERTED logic...
-- Gianluca Sartori
May 11, 2009 at 9:50 am
To set up the new computer name in SQL Server, refer to this FAQ:
http://support.microsoft.com/kb/257716/en-us
Q. Can I rename a server after installing SQL Server 2000?
A: Yes, you can rename a...
-- Gianluca Sartori
May 11, 2009 at 9:22 am
Why don't you simply use CHECK constraints?
Another way could be using INSTEAD OF triggers and insert manually only the rows that pass your test.
-- Gianluca Sartori
May 11, 2009 at 9:14 am
Generally speaking I agree that working with ISNULL() or COALESCE() to catch dynamic input parameters can lead to performance issues, but I found it useful in situations where I have...
-- Gianluca Sartori
May 11, 2009 at 2:08 am
sjimmo (5/8/2009)
Having 2 seperate and distinct systems has relieved this issue. As for the comments on Crystal...;-)
I simply try to avoid it because I can't prevent the reporting tool from...
-- Gianluca Sartori
May 8, 2009 at 10:03 am
You could use xp_cmdshell to get this info, but be careful what you do with it, it could lead to possibile security issues.
If you want to use xp_cmdshell you will...
-- Gianluca Sartori
May 8, 2009 at 3:50 am
It depends on your DB size. We have small databases (under 100 Gb) and we prefer nightly full backups to keep it simple and reliable. We use Tivoli Data Protection...
-- Gianluca Sartori
May 8, 2009 at 3:16 am
GilaMonster (5/8/2009)
Gianluca Sartori (5/8/2009)
Exactly: the transaction log backup is taken from the last backup, either full or tlog.
Not quite.
Log backups contain the log records since the previous log backup. Full...
-- Gianluca Sartori
May 8, 2009 at 2:16 am
If your purpose is to restore the whole db server (to protect yourself from hardware failure or that kind of disaster) you will have to backup system databases too. Obviously...
-- Gianluca Sartori
May 8, 2009 at 2:06 am
The cheapest solution is to link the servers and set up queries to compare data by primary key.
Quite a lot of work.
-- Gianluca Sartori
May 8, 2009 at 1:59 am
When you run the package from SSMS, it is run directly from your computer, but with SQLAgent it is run from the DB server. Check if there's dome firewall rule...
-- Gianluca Sartori
May 8, 2009 at 1:53 am
Maybe you mean track changes in data. If this is what you want there's Red-Gate's SQL data compare:
http://www.red-gate.com/products/SQL_Data_Compare/index.htm
-- Gianluca Sartori
May 8, 2009 at 1:49 am
You could use ddl triggers to track changes in databse objects.
Take a look at this article:
http://www.sqlservercentral.com/articles/Auditing/62126/
Regards
Gianluca
-- Gianluca Sartori
May 8, 2009 at 1:47 am
The plan I prefer for backups is a nightly full backup and transcation log backup every hour, but it depends on your database size, user activity etc.
This fits my...
-- Gianluca Sartori
May 8, 2009 at 1:43 am
RBarryYoung (5/8/2009)
-- Gianluca Sartori
May 8, 2009 at 1:32 am
Viewing 15 posts - 5,236 through 5,250 (of 5,393 total)