Forum Replies Created

Viewing 15 posts - 91 through 105 (of 143 total)

  • RE: Rolling back from Service Pack 4

    Thanks.

     

    If I'm going to re-install SQL will it over-write the data files in the default data directory?

     

    I've copied the files to another folder in case.

     

     

  • RE: Error after installing SP4 on Test Sever

    Thanks for the reply.

     

    That has set my mind at ease.

     

    Carl

  • RE: dbo with no login

    Why not leave the dbo as sa?

    The problem with creating databases via Windows Authentication logins arises when the user leaves the company and has their NT access removed.

    Carl

  • RE: Performance Monitor a SQL Database

    Thanks for the reply Mike.

    I have had a look at the different counters in perfmon but can't find any that are of use to me.

    The resources that I am trying...

  • RE: Displaying Dates in particular format

    Hi,

    The purpose of the formatting was for a report not a front end application.

     

    Regards

    Carl

  • RE: Displaying Dates in particular format

    Discovered how to do it:

    select REPLACE(CONVERT(CHAR(11),[testdate],106), ' ','') AS [testdate]

    from testdate

    Carl

  • RE: Stored Procedure Permissions

    Hi,

     

    I have tested the thoery myself by creating a test sproc and the user does not have permissions to create tables.  I beleiev the user would need ddladmin rights as...

  • RE: Ranking Result sets in TSQL

    Hi,

    One of our reporting team wants to be able to rank a result set so the row with the highest amount of sales for each month is shown as number...

  • RE: SQL Server Agent Account

    Thanks for the reply.

    Changing the Agent account to a domain account won't cause any problems will it?

    From what I know, If you change the Account via Enterprise manager you don't...

  • RE: TSQL Functions

    Thanks everyone for your help. Its much appreciated.

     

    Carl

  • RE: TSQL Functions

    I have ran the original code and it does differ to the count I get using my own code.  I have checked and it seems to exclude NULLS.

     

  • RE: TSQL Functions

    The only thing I would say is your code brings back less rows than mine?

     

    Does your code deal with NULLS?

     

  • RE: TSQL Functions

    Guys,

    I dug out a piece of code and messed about with it and it seems to do the trick although I don't fully understand what it does?

     

    select  client_id, 

    substring(post_code_insured,1,len(post_code_insured)-(charindex(' ', right(reverse(post_code_insured),len(post_code_insured))))), 

    from...

  • RE: Login failed for user ''''NT AUTHORITY\SYSTEM''''.

    Thanks for your help.

    In terms of moving forward, it looks to me like it is best to run the SQL Services as a domain account rather than local system as...

  • RE: Login failed for user ''''NT AUTHORITY\SYSTEM''''.

    So is the NT AUTHORITY\SYSTEM account the local system account?

Viewing 15 posts - 91 through 105 (of 143 total)