Forum Replies Created

Viewing 15 posts - 11,311 through 11,325 (of 15,381 total)

  • RE: Batch loading using t-sql

    This should work but you have a couple issues. You said you want to load in batches of 10. You select top 10 but limit it to 5 rows with...

  • RE: Time based working

    Well it is very unclear what you are trying to do here. Do you have these tables designed already? Can you post the ddl, sample data and desired results? I...

  • RE: Is there a Better way to apply range for String Data type?

    Mohammed Yousuf (7/18/2012)


    I want to apply a range ( @fromvalue to @tovalue) to a column of type varchar.

    lets say the column is ItemNumber

    The ItemNumber can have both numeric and...

  • RE: Create 15 min inc time matrix?

    tacy.highland (7/18/2012)


    Ok. So that kind of works.

    I'm trying to build it as a matrix, with the route number as a row, and each 15 min increment (for the whole day)...

  • RE: Is there a Better way to apply range for String Data type?

    lokeshvij (7/18/2012)


    Not sure why are you using all this for range --> use substring instead

    Check this link:

    http://msdn.microsoft.com/en-us/library/ms187748.aspx

    I am not sure how substring would help in this case but...

  • RE: Database update from web page

    dtopicdragovic (7/18/2012)


    One thing I forgot to mention is that when user login to web site we select his data and we display it to the user. After he updates...

  • RE: Database update from web page

    XMLSQLNinja (7/18/2012)


    First thought was that we would connect to current db and do updates directly (validating fields before update).

    Good Grief! First and foremost - NEVER do that. As a...

  • RE: Create 15 min inc time matrix?

    tacy.highland (7/18/2012)


    Thanks so much.

    However, I ran into issues recreating your cteTally table. I took a look at the link you provided for creating the tally table but...

  • RE: Insert Null values into a Not null column

    nvm misread the original question.

  • RE: how to delete duplicate col.

    SQLRNNR (7/18/2012)


    Sean Lange (7/18/2012)


    Danzz (7/18/2012)


    Can I get T-sql statement.

    Actually if you read the article it is really quite simple.

    Thank you.:-D

    You're welcome. Not sure how I never found that one before....

  • RE: how to delete duplicate col.

    Danzz (7/18/2012)


    Can I get T-sql statement.

    Actually if you read the article it is really quite simple.

  • RE: Create 15 min inc time matrix?

    tacy.highland (7/18/2012)


    The table this query would be pulling from is literally just 3 columns: Route INT, Starttime SMALLDATETIME, Endtime SMALLDATETIME. The start/end time could be in some other format...

  • RE: Value in all columns?

    Charmer (7/18/2012)


    I already took this cursor when anthony.green redirected me to the above link...I slightly modified this cusror and i got the result what i was looking for.

    Thank you Sean....

    You...

  • RE: Create 15 min inc time matrix?

    Without ddl, sample data and desired output nobody can do much to help. At best we can take a shot in the dark and see if it might work. If...

  • RE: Time based working

    This request is WAY beyond the scope of an online forum. You are asking somebody to design your entire application and database. If you are truly stuck at the starting...

Viewing 15 posts - 11,311 through 11,325 (of 15,381 total)