Forum Replies Created

Viewing 15 posts - 631 through 645 (of 1,109 total)

  • RE: Running Number Generation

    Ananth (11/19/2007)


    Hi ,

    I'm using sql server 2000. Do you have any query or site to view the solution. I need to generate the serial number in the query,so that the...

  • RE: sql server 2000

    Hi Satish,

    the very first thing that strikes me is that you are using unions. Are you sure you cannot get away with "union all"?

    Regards,

    Andras

  • RE: whitch version of SQL server is compatible with Windows Vista

    ghas (11/19/2007)


    I just want to install SQL server express on my laptop with the vista operating system, just want to know if it is compatible with Vista or not

    SQL Server...

  • RE: Partitioned Tables in SQL Server 2005

    Dugi (11/18/2007)


    Hello,

    as I can see there are the understandalbe question and answers but can anyone explain to me about this part of SQL code

    ...

    ) on ps1(a)

    ...

    (it is a Partition...

  • RE: Error in Restore SQL2000 .BAK in a SQL2005

    The database has been backed up into two files, you need both to restore the database. First make sure that the customer sends you both files, and then make sure...

  • RE: Triggers with Cycle IF

    Do you have something like this in mind?

    CREATE TABLE mytable

    ( a INT IDENTITY

    PRIMARY KEY

    ...

  • RE: Fast growing Transaction log

    What you can do is to take more frequent transaction log backups, or (this is not a good approach, but depends on the requirements) switch to simple or bulk (if...

  • RE: Reformatting output

    Sorry, I've just noticed that you would like to do this on 2000. My query would work on 2005. You can implement row_number() on 2000 (see http://support.microsoft.com/default.aspx?scid=KB;EN-US;q186133) but that is...

  • RE: Reformatting output

    You should really really do this on your client. SQL queries return a sequence of rows (which should even be handled as sets or bags in most cases). The information...

  • RE: Database compatibility level after upgrade to SQL2005

    Hi Berto,

    There are some breaking changes in higher compatibility modes. For example SQL Server 2005 no longer accepts =*, and there are some new reserved keywords, e.g. "PIVOT"

    You can read...

  • RE: XP_CMDSHELL

    On 2005 to enable xp_cmdshell:

    EXEC sp_configure 'show advanced options', 1

    GO

    RECONFIGURE

    GO

    EXEC sp_configure 'xp_cmdshell', 1

    GO

    RECONFIGURE

    GO

    Regards,

    Andras

  • RE: how to clear the sql transaction log?

    vadimt (11/14/2007)


    my .ldf file has grown over 2 GB and i need to shrink it or clear it. or even delete completely.

    is it possible?

    thank you.

    edit: i'm a developer using SQL...

  • RE: delete duplicate value

    If there is a duplicate row, and you only want to delete one of them (or only a certain number if there are more), then you can do something ugly...

  • RE: delete duplicate value

    I assume that this table does not have a primary key 🙂 (it is bad, but it is of course another story)

    You could build a new table with only the...

  • RE: ALTER Function with dependencies

    Jetro (11/14/2007)


    Thank you for your answer. Can you tell me where I can find such tools?

    Red Gate's SQL Compare is one (it compares database schemata, and generates the change script)....

Viewing 15 posts - 631 through 645 (of 1,109 total)