Forum Replies Created

Viewing 15 posts - 4,066 through 4,080 (of 5,103 total)

  • RE: Error not raised as I expect

    >>Apparently  you are running with ANSI_NULLS = OFF.<<

    Which is the right thing to do!

    I wouldn't recommend to change that setting

  • RE: MS Access query - SQL query

    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,...

  • RE: Checking to see if a role exists in T_SQL

    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

  • RE: Error not raised as I expect

    At least it should generate good consulting opportunities to fix the mess ...

    Agreed! I liked that part ... a lot

  • RE: Error not raised as I expect

    Yep, This "feature" has been the Achilles heel of TSQL for ages

  • RE: Error not raised as I expect

    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...

  • RE: Error not raised as I expect

    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...

  • RE: Checking if a transaction has already been started.

    you could check @@transcount in TSQL

     

  • RE: Data Encryption

    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

  • RE: Password Guess Attacks - What do you do?

    >>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...

  • RE: SQL Profiler -- Define Duration

    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...

  • RE: SQL Server 2000 sp3a install collation query

    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...

  • RE: SQL logins changed domains

    You can use Mapsids.exe for the conversion

    HTH

  • RE: Profiler: Duration explaination

    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,...

  • RE: How can I improve this code?

    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...

Viewing 15 posts - 4,066 through 4,080 (of 5,103 total)