Viewing 15 posts - 4,066 through 4,080 (of 5,103 total)
>>Apparently you are running with ANSI_NULLS = OFF.<<
Which is the right thing to do!
I wouldn't recommend to change that setting
March 16, 2005 at 10:42 am
SELECT tblTicket.Id, 'PA' + Right('000000'+ cast(tblTicket.Id as varchar(6)),6) AS TicketId, tblTicket.OpenDate, tblTicket.Createdby, tblTicket.StartDate, tblTicket.EstCompletionDate, tblTicket.ActCompletionDate, tblTicket.SummaryOfWork, tblEquipment.Equipment, tblSubNetwork.SubNetwork, tblLocation.Location, tblRisk.Risk, tblStatus.Status, tblTicket.ClosedDate, tblAdmin.Admin, tblTicket.Notes, tblTicket.SwitchingActivity, tblLocation.Country,...
March 16, 2005 at 10:39 am
declare @rolename sysname
set @rolename = 'YourRole'
if exists (select * from sysusers where name = @rolename and (issqlrole = 1 or isapprole = 1))
begin
exec sp_droprole @rolename
end
HTH
March 16, 2005 at 10:28 am
At least it should generate good consulting opportunities to fix the mess ...![]()
Agreed! I liked that part ... a lot
March 16, 2005 at 8:39 am
Yep, This "feature" has been the Achilles heel of TSQL for ages ![]()
March 16, 2005 at 8:26 am
Just so you know, the most frantically awaited feature for me from SS 2005 has a name: STRUCTURED EXCEPTION HANDLING
There is nothing like making sure that if something missbehave you are...
March 16, 2005 at 8:18 am
I've had some instances of this and you are not going to like my answer: "it depends" ![]()
The best bet is to debug and...
March 16, 2005 at 7:59 am
you could check @@transcount in TSQL
March 15, 2005 at 12:53 pm
That type of encription has to be performed on the application layer not on the DB. Be careful because sometimes it has some undesired effects
March 15, 2005 at 12:43 pm
>>Public access is a business requirement<<
There is something that you are missing on that statement. Public access is to the DATA not to the Server
1. You should Firewall your server.
2. Allow...
March 15, 2005 at 12:39 pm
CPU --> amount of CPU time in milliseconds
Duration --> Time elapsed for the event in milliseconds
And yes, THAT is costly.
Can you:
1. check the execution plan of that process
2. make sure table...
March 15, 2005 at 12:17 pm
First One comment. Collation is a paramerer in the setup that must always be a conscious decision.
When you have a server with US locale SQL Setup does not bother to...
March 15, 2005 at 9:59 am
You can use Mapsids.exe for the conversion
HTH
March 15, 2005 at 8:18 am
Duration is the time in ms that took that event to occur. For SP is the Duration of the RPC. For Table Scans is the Duration of the table Scan.
Beware,...
March 14, 2005 at 1:09 pm
Well, if you stop the update even if it runs for ages then all changes will be rolledback there for no updates.
Now, let's concentrate on the rest.
1. Does the...
March 14, 2005 at 8:41 am
Viewing 15 posts - 4,066 through 4,080 (of 5,103 total)