Forum Replies Created

Viewing 15 posts - 76 through 90 (of 302 total)

  • RE: Convert int date(YYMMDD) to datetime

    You can change to like this. YY

    select dbo.fn_FormatDate(@dateS,'yy/mm/dd')

    This function is so flexible to format any date. you can see the example in the function too.

  • RE: Distributed Query fails with General Network Error

    Can you let us know what is the error.

    If it's a distributed query then you may need to check the remote link and also the account which remote link...

  • RE: Convert int date(YYMMDD) to datetime

    Try to use the following function.

    You need to convert your int date to varchar and then try following function.

    for example

    declare @dateI int

    declare @dateS varchar(10)

    set @dateI =20060101

    set @dateS = convert(varchar(10),@dateI)

    select dbo.fn_FormatDate(@dateS,'yyyy/mm/dd')

    create...

  • RE: SQL Scripts needed

    Here you go.

    --To get the stored procedure started with sp_

    select name from sys.sysobjects where name like '%sp_%' and xtype='p'

    --To get the list of tables without clustered index

    SELECT DISTINCT

    =...

  • RE: Automate restoration of Analysis cubes

    I think I should be more clear.

    I wanted to restore Analysis Cubes from one server to another server automatically, I am thinking if it can be done through sql job...

  • RE: Memory problem in Itanium server

    I just came to know that we should not rely on task manager when checking memory problem. Task manager sometimes does not give proper information on Itanium server.

    We should use...

  • RE: Demo of DBA stuff

    Thanks a lot Tim,

    I will surely look into this document and make necessary changes.

  • RE: Demo of DBA stuff

    The only thing I know that I posted a question and I got response very fast and that is what I need.

    It's not a matter of laziness, it is...

  • RE: Demo of DBA stuff

    Alex.. I was thinking of the same thing. I will remove and add some more thoughts so that users should understand easily. I really don't want to put technical...

  • RE: Demo of DBA stuff

    Hi Tim,

    I am a DBA and I know my DBA job. I think you misunderstood the questiion. I can develop this demo but it will take some hours and I...

  • RE: Demo of DBA stuff

    That looks great. That exactly i need.

    you saved my lots of hours.

    Thanks a lot.

  • RE: PF usage is very high

    Thanks man,

    I think it's fine now, some system process were running and taking lots of CPU. I will see tomorrow if there is any improvement because there will be some...

  • RE: PF usage is very high

    After doing all the changes and rebooted the server, it is now taking 100 CPU but paging size is very low. Before the changes, CPU was very little but paging...

  • RE: PF usage is very high

    Thanks,

    I will surely do that.

  • RE: PF usage is very high

    This SQL box has 6 GB of total memory.

    Mininum memory is 0 and maximum memory is 2147483647 MB which is default.

    Should I change maximum memory to 6000 MB and what...

Viewing 15 posts - 76 through 90 (of 302 total)