Forum Replies Created

Viewing 15 posts - 106 through 120 (of 789 total)

  • RE: Concatenate result sets

    Add some ID with Identity (1,1) in two tables then write this SELECT TABLE1.CHARS, TABLE2.NUMBERS FROM TABLE1, TABLE2 WHERE TABLE1.ID = TABLE2.ID

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

  • RE: Datediff doubt

    Jeff Moden (3/30/2010)


    Um... no, Dugi. Don't use the 23:59:59.999 thing.

    There are two reasons. First, anything larger than 23:59:59.997 will round up to the next day. Second, with...

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

  • RE: Aggregation of records

    It would be better if you post the structure of your table and some test data then your desire results!

    I'm sure that you will have many alternatives how to do...

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

  • RE: Datediff doubt

    gaurav-404321 (3/30/2010)


    I am using datediff functionm to calculate the days span between two dates

    SET @StartDate=cast('2010-01-26 00:00:00.000' as datetime)

    SET @EndDate=cast('2010-02-25 00:00:00.000' as datetime)

    SET @TotalDaysInSalaryPeriod= DATEDIFF(dd,@StartDate,@EndDate)

    this is giving 30 as output.

    But...

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

  • RE: Loading data into SQL Server from password protected Excel Workbook

    We know that it couldn't done with standard procedures to read XLS file with pass protected, but take a look this code and I hope it would help you.

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

  • RE: SQL server 2008 Build List

    Steve I think that you can add also the CU 7 for SQL Server 2008 in the list! 😎

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

  • RE: Script to get Server Info

    Not bad! - I like it!

    :hehe:

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

  • RE: Where are you?

    Hello from Kosova - the newest state in the World ... http://www.kosovothanksyou.com

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

  • RE: Data Type for URLs storage

    Yep what to say try nvarchar(1000) ! I think this is enough characters number that can be one URL.

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

  • RE: Finding Missing Items

    To have the correct results that you are looking for, post your table structure with sample data and the resultset that you want to achieve ...hope that we will help...

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

  • RE: create user with very few privileges.

    MAK-1128556 (2/24/2010)


    you should assign as db_owner of that database

    Hmmm I think this is not a solution!!!!!!! :hehe::w00t::-P:-D:-):-P;-):w00t::cool::hehe:

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

  • RE: Creating a View/Linked Tables

    You are welcome! Comeback again in the forum and you will find much more than your problems ....!

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

  • RE: Creating a View/Linked Tables

    I can see that you mentioned the SQL Server 2000...so here is the forum for SQL Server 2005!

    Anyway, next time when you have a question about SQL Server 2000 you...

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

  • RE: Creating a View/Linked Tables

    First of all SQL Server 2003 doesn't exists!

    You can create Linked Server in SQL Server to Access file, when you create it you can see the tables and views in...

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

  • RE: Backup a DB which is in restoring state

    Yes interesting question ...any reason for the scenario...!?

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

Viewing 15 posts - 106 through 120 (of 789 total)