Forum Replies Created

Viewing 15 posts - 661 through 675 (of 1,479 total)

  • RE: Need one trick for sorting !!!!!!!!!

    I don’t think that you can do it in a different day, but the question is what are you trying to do that you need to get random records from...

  • RE: Need one trick for sorting !!!!!!!!!

    NewID() function produces a new value each time you run it, so the first and second query shouldn’t produce the same records. If you need to produce the...

  • RE: Converting Hijri Date

    The problem is that you have a none valid date. The Hijri calendar has 12 months. Each month has 30 or 29 days. Most of the years...

  • RE: Converting Hijri Date

    I’m not expert on the subject, but it seems to me that you got a none valid date. I think that this is just like getting the date Feb...

  • RE: Converting Hijri Date

    Acutely Hijri calendar has the structure of dd/mm/yyyy (you can check it in BOL at the explanation about convert function), but I think that the 12th month doesn’t have 30...

  • RE: Attach a suspect database

    You can rename the originals database’s files. Then create a new database with the exact same name and files (name and location) as the original database. Stop the...

  • RE: Sql Server 2005 Developer Edition

    Yes you can, as long as it is used for development purpose only

    Adi

  • RE: Converting Hijri Date

    Lynn Pettis (2/10/2010)


    I ran the following: select convert(datetime, '8/12/1430' , 131) and it returned 2009-11-25 00:00:00.000. Is that correct?

    Unfortunately I have to admit that I was wrong. ...

  • RE: Index not being used on computed column. collation issue?

    As far as I know the server doesn’t care where you are running the query from. A query should have the exact same query plan regardless of the client...

  • RE: index usage DMV Implementation?

    This means that the server had a query and that query could have benefited from an index that is based on the columns Status_ind, , Formated_City and State_ID. ...

  • RE: trigger modified date

    wschampheleer (2/10/2010)


    Don't have access to SQL2K anymore 🙂 but try the view sys.triggers and look for the column modify_date.

    SQL Server 2000 did not have the sys schema, so there is...

  • RE: Converting Hijri Date

    Unfortunately you can’t. The year 1430 can not be used in datetime data type. If you’ll try to use it, you’ll get an out of range error.

    Adi

  • RE: Partition for an existing table

    subbarayudu.net 37258 (2/9/2010)


    Adi that is ok .

    Next record is kept on 5th partition, it means the fifth partition how many record are kept. its upto next 25000 or remaining...

  • RE: Partition for an existing table

    My guess is that you created this partitioning function:

    CREATE PARTITION FUNCTION WhatEverNameYouSelected (int)

    AS RANGE LEFT FOR VALUES (25000, 50000, 75000, 100000)

    This function doesn’t create 4 partitions. It creates...

  • RE: Partition for an existing table

    As I already wrote before – it depends on the partitioning function and the value that you inserted into the column that the partitioning is based on. Without knowing...

Viewing 15 posts - 661 through 675 (of 1,479 total)