Forum Replies Created

Viewing 15 posts - 11,731 through 11,745 (of 15,381 total)

  • RE: Date Conversions

    Agreed that the formatting was a bit challenging but a great question. Thanks Lynn!!!

  • RE: Query using date

    villanueva.jonel (6/5/2012)


    Thank you guys for the reply.

    I have to clear my requirements.

    I want to pullout records based on date and time(hour).

    In my samples i have date range from 2012/06/04 and...

  • RE: Improve performace of a simple query

    Tripz (6/5/2012)


    Hi,

    I removed all the 3 functions and updated the query accordingly and executed it. it is taking 10 sec to execute now.

    Thank you for all the help

    I am trying...

  • RE: Are the posted questions getting worse?

    My buddies and I have tickets to the Victory Suite for tonight's Open Cup match at Livestrong Park. The Victory Suite is usually reserved for cancer survivors (and thankfully their...

  • RE: Insert XML into SQL Table

    IgorMi (6/5/2012)


    Hi,

    It is like the other inserts.

    Example

    The table:

    CREATE TABLE [dbo].[UrlSet](

    [Tip] [smallint] NOT NULL,

    [xml] NULL

    )

    The insert:

    Insert Into UrlSet(Tip,url)

    Values (1,'<Urls NavigationGroup="1">

    <Item ItemUrl="~/About.aspx" />

    </Urls>')

    I don't know what your other inserts...

  • RE: Insert XML into SQL Table

    With over 400 points you know what is coming...

    We need some details here. You want to insert what into what table? What does the table look like?

    DDL, sample data (maybe...

  • RE: Improve performace of a simple query

    Alexander Suprun (6/5/2012)


    Sean Lange (6/5/2012)


    Alexander Suprun (6/5/2012)


    Sean Lange (6/5/2012)


    Tripz (6/5/2012)


    my UserPreferences i.e bbbb has comma separated region ids and category ids, that is the reason to use fn_split function

    I...

  • RE: Improve performace of a simple query

    Alexander Suprun (6/5/2012)


    Sean Lange (6/5/2012)


    Tripz (6/5/2012)


    my UserPreferences i.e bbbb has comma separated region ids and category ids, that is the reason to use fn_split function

    I understand the point of...

  • RE: Improve performace of a simple query

    Tripz (6/5/2012)


    Table bbbb is nothing but t_UserPreferences

    and table cccc is nothing but resumes

    So bbbb is the same as t_UserPreferences?

    What about t_regions?

    my UserPreferences i.e bbbb has comma separated region ids...

  • RE: The Beer Cooler Thread

    Cliff Jones (6/5/2012)


    L' Eomot Inversé (6/1/2012)


    Cliff Jones (5/30/2012)


    I like a home brewed double chocolate stout made using a kit from the Home Brewery.

    http://www.homebrewery.com/images/Chocolate-Stout.jpg

    Is Jimmy Carter still a hero to American...

  • RE: Improve performace of a simple query

    Lynn Pettis (6/5/2012)


    From OP's second post:

    OK so we did have indexes (although at first glance they don't seem to help much here). The rest of everything I said is still...

  • RE: Improve performace of a simple query

    We still need definitions for

    t_UserPreferences

    t_regions

    And we still need sample data and desired output.

    There are lots of things that can be done to improve the performance of this. One thing you...

  • RE: Improve performace of a simple query

    OK so to compile all of the details we have so far into a single post, here is the ddl as you have posted.

    CREATE TABLE [dbo].[aaaa] (

    [ID] [int] IDENTITY(1, 1)...

  • RE: T-SQL data retrival query

    hunmunnar (6/5/2012)


    Hi,

    I have scenario where table field names are in short terms.

    Field actual name is extracted using another table.

    Please provide an sql query to view data such that short terms...

  • RE: T-SQL Help

    You will probably need a staging table to hold the original data. Use SSIS to import the data into a table in sql. Then you can parse each row into...

Viewing 15 posts - 11,731 through 11,745 (of 15,381 total)