Viewing 15 posts - 12,376 through 12,390 (of 13,469 total)
yep already created view for you. try
SELECT * FROM INFORMATION_SCHEMA.COLUMNS
you'll see it has the definitions for all the columns int he database, including what that default value is.
October 1, 2007 at 5:59 am
well WITH TRUNCATE_ONLY would truncate the log, but that's only whent he backup occurs.
if you restored it locally, made sure it was set to Full, and then updated a...
September 29, 2007 at 7:34 pm
the server is local or remote from where you installed SQL Log Rescue? i know you have to install the extended stored procedures on each instance you want to use...
September 29, 2007 at 7:10 pm
in order to use SQL Log Rescue, the database Recovery Model Option had to be set to "Full" and not "Simple" prior to the UPDATE event occurring. Check the properties...
September 29, 2007 at 5:30 pm
usually you want to delete data in certain tables, but not "lookup tables".
the script below will delete/truncate every table in foreign key hierarchy order, but you should add to the...
September 28, 2007 at 7:42 am
Best (9/27/2007)
table from where update has to be made----------------Table b
table structure of Table a--------------------contactid,lastname,firstname
table structure of table b-------------------leacode,lastname,firstname
table structure of table...
September 27, 2007 at 8:22 pm
in the ORDER BY section of a statement, you can refer to data by the alias that was assigned to it, isntead of the function. will that help you out?
ie...
September 27, 2007 at 7:27 pm
What have you tried so far?
This looks a lot like a homework question, so please bear with me;
in order to get information from two tables, you want to use a...
September 27, 2007 at 7:16 pm
yep your right...select statements don't produce a loggable item, so there's no way to track who reads a table, unless you set up a profile.
September 27, 2007 at 11:45 am
select * from sys.messages will give you the error text as well as severity, etc.:
message_id
language_id
severity
is_event_logged
text
September 27, 2007 at 10:13 am
isn't this the problem?: @tradeid ahs a single quote, which would stop theprocess, and then all the other varables need doublesingle quotes, like @vcDeptName = ''IF-PM'',
exec sp_executesql N'sp_UpdateProcessedTrades',...
September 26, 2007 at 9:58 am
yeah i agree; it's just my knee jerk reaction was "but it's in a TRANSACTION", like that makes up for everything.
September 26, 2007 at 9:26 am
if you start a transaction, insert, and then rollback due to a business decision, your identity will increment, but no error is thrown. a missing identity value does not necessarily...
September 26, 2007 at 8:57 am
you can use the function USER_ID() and USER_NAME() inside your trigger, and there is a bunch of system functions like APP_NAME and others that might be helpful for auditing/logging. look...
September 26, 2007 at 8:50 am
show us the query you have done so far, so we can offer suggestions with your homework; you won't learn if someone just gives you the answer.
September 26, 2007 at 8:13 am
Viewing 15 posts - 12,376 through 12,390 (of 13,469 total)