Viewing 15 posts - 361 through 375 (of 597 total)
I am running SQL 2000 SP3A. The answer given is correct.
May 20, 2004 at 7:37 am
Here's another free tool (at least until the end of May) http://www.x-sql.com/ This one compares DML, triggers, constraints etc but not data. And it will create the sync script. ...
April 29, 2004 at 12:56 pm
Use host_name() or host_id().
eg.
ALTER TRIGGER ordertr
ON Orders
FOR INSERT
AS
DECLARE @msg varchar(2000)
SET @msg = 'net send ' + CAST(host_name() AS varchar(30)) + ' test'
EXEC master.dbo.xp_cmdshell @msg
April 29, 2004 at 12:08 pm
I would include code that calls a mail program in the trigger to email the user. This assumes you have or can easily get the users' email address. I assume...
April 28, 2004 at 2:24 pm
See http://www.yessoft.com/ for a free compare tool. It only compares, it does not create a script to resolve differences.
April 28, 2004 at 11:05 am
For syntax help with DTSRUN see http://www.sqldts.com/?301
April 23, 2004 at 11:13 am
I don't understand what you would want generated if the table doesn't exist. How do greate an INSERT statement if there are no columns to insert? Most of the tools...
April 23, 2004 at 8:23 am
For a format of format of nnn-nn-nnnn how about:
EXEC sp_addtype SSN, 'VARCHAR(11)', 'NOT NULL'
GO
CREATE TABLE ShowSSNUsage
(EmployeeID INT PRIMARY KEY,
EmployeeSSN SSN,
CONSTRAINT CheckSSN CHECK ( EmployeeSSN LIKE
'[0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9][0-9][0-9]' )
...
April 22, 2004 at 1:54 pm
Juanita:
If you don't remove the guest id I can't think of any way to make 'master' not display in the object browser. If you remove 'guest' you may create...
April 22, 2004 at 8:43 am
the same table.... Definitely not trivial. You will need to have date last updated and know which columns were updates on which box to determine how to merge the rows. ...
April 21, 2004 at 9:59 am
If guest is removed from master then anyone wanting to execute stored procs that exist in master will not be able to unless they are a member of some server...
April 21, 2004 at 9:50 am
QA is administrative tool. Personally I would not be happy if some databases/tables didn't show up just because I haven't been given read access. However, I understand what you want. ...
April 21, 2004 at 9:14 am
Are the table to be updated on the ISP the same as the ones on your main database? If they are different you could look into DTS to do the...
April 21, 2004 at 9:08 am
Check if http://support.microsoft.com/default.aspx?scid=kb;EN-US;319892 applies. There is info in the UMS Scheduler Health section which might be related.
April 21, 2004 at 8:40 am
April 20, 2004 at 2:38 pm
Viewing 15 posts - 361 through 375 (of 597 total)