Forum Replies Created

Viewing 15 posts - 661 through 675 (of 789 total)

  • RE: Format values as Percent

    SMAZ (8/26/2008)


    Thanks Gail!

    Its perfect.

    He is perfect also in other solutions as I can see ...!

    :hehe::hehe::hehe:

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: Format values as Percent

    I find it on another way like this but Gila's post is the best for me!?

    Select MyColumn FROM

    (

    SELECT CAST(CAST(0.10*100 AS numeric(10,2)) AS varchar(5)) + '%' as MyColumn

    Union

    SELECT CAST(CAST(0.011*100 AS...

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: Format values as Percent

    Gila you are very SQL Sick... very nice solution without adding or removing any other expression!

    Nice solution Gila!

    Dugi

    :w00t:

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: Format values as Percent

    It is interesting it doesn't work with ROW_NUMBER() function , so how it works on the other way!? :w00t:

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: Intellisense Bugs

    Nice info refreshing Intellisense in local cashe!

    Thnx GM

    :hehe:

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: grouping by date

    VERY EASY;

    SELECT ID, CONVERT(VARCHAR, DATE, 103) AS YOURDATE, COUNT(ID_SOMETHING) FROM TABLE

    GROUP BY ID, DATE

    if you do not have any solution please post the definition of your table and some sample...

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: create table from views

    VERY EASY ....

    SELECT * INTO new_table_name

    FROM any_kind_of_your_view

    that's it!!!

    :hehe::cool:

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: delete table

    Ok the ideas are here and if you want to clearly solution you must post the table definition and some sample data just to do the things correct!

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: delete table

    no you can not do such a thing... you should save the script for deleting also with parameter that identify the condition and after that you will do schedule the...

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: How to restrict users not do SQL 2005 Export/import wizard operations in sql server 2005

    nice thing to know!

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: DBCC SHRINKDATABASE/SHRINKFILE

    NICE explanation Gila ...thnx!

    :hehe:

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: How to share a database with another user

    till you do not have network conn is very poor system... otherwise I do not have any idea how to do sharing without network conn!!!

    :hehe:

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: How to calculate sum of row

    Jeff Moden (8/3/2008)


    That will work just fine, but only if a single row is inserted at a time. If there's a chance that more than 1 row can be...

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: re sql server express 1gb limit

    no SQL Express support till 4 GB for database size!

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

  • RE: Whats are the Advantages of Filegroups in Sql Server 2005

    Maybe many of them... the first one is when you have the large database environment you will do some partition data in many data files so this partition is possible...

    ============================================================
    SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
    http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]

Viewing 15 posts - 661 through 675 (of 789 total)