Viewing 15 posts - 3,166 through 3,180 (of 6,401 total)
If you have some way of telling SQL the sort order then yes
declare @table table (name varchar(10))
insert into @table values ('Smith'),
('Jack'),
('David'),
('Ellen'),
('john'),
('Peter')
select * from @table order by name asc
select * from...
December 10, 2012 at 5:09 am
You will simply just need to query the ingredients table for a sum of the ingredients for the particular recipe that has just been inserted / updated / deleted by...
December 10, 2012 at 5:02 am
Is this a homework question by any chance? Also what is the rules behind using a trigger, why not a stored procedure etc? Also what happens should you...
December 10, 2012 at 4:39 am
December 10, 2012 at 4:24 am
You could check the default trace, but that only keeps so much information before it is lost, so highly unlikely that it will be in the trace.
Again custom auditing would...
December 10, 2012 at 4:13 am
As you dont have custom auditing in place, finding historic updates/deletes will not be possible.
Look at building custom auditing procedures on the tables you require to know who updated /...
December 10, 2012 at 3:31 am
Do you have custom auditing in place?
Do users login with a generic username or do they have their own username?
December 10, 2012 at 2:07 am
If the server is in a domain then yes it is recommended, that way should you need to do anything to network shares you can set the correct permissions. ...
December 7, 2012 at 7:08 am
Please provide the execution plan of the query along with any indexes which may be on the two tables in question.
December 7, 2012 at 4:20 am
A dedicated windows account just for that particular service.
December 7, 2012 at 2:04 am
I would suggest some reading material on transaction log management
Stairway to Transaction Log Management - http://www.sqlservercentral.com/stairway/73776/
Managing Transaction Logs - http://www.sqlservercentral.com/articles/Administration/64582/
Why is my transaction log full - http://www.sqlservercentral.com/articles/Transaction+Logs/72488/
Accidental DBA Guide -...
December 6, 2012 at 8:24 am
You could just query the backupset table and get the space of the backups that way, unless the drive/folders also store none backup files.
December 6, 2012 at 3:11 am
We ask for table and data so that we can write a T-SQL statement and test it to ensure that what we do is what your require.
For reference please read...
December 5, 2012 at 6:39 am
Viewing 15 posts - 3,166 through 3,180 (of 6,401 total)