Forum Replies Created

Viewing 15 posts - 361 through 375 (of 1,253 total)

  • RE: how to reset week start date

    SET DATEFIRST 5

    "Keep Trying"

  • RE: a little backup

    Doing the actual restore operation is the only sure shot way of confirming whether the backup will work or not?

    You could compress the backup and save time if u need...

    "Keep Trying"

  • RE: Update a table by selecting the max record

    I meant returning a set of records using a select and a update operation using the same query.

    Seems i did'nt clearly understand the OP's question.

    "Keep Trying"

  • RE: "Answered" Posts

    the OPs should at least try to solve their own problems, first.

    Heartily Agree.

    BTW do we get points for "deleted" post ? :hehe:

    "Keep Trying"

  • RE: Update a table by selecting the max record

    [font="Verdana"][/font]You cant do the Select & Update in a single query.

    Maybe you can write a small proc where you can do the update and then select the data.

    [font="Arial"][font="Arial Narrow"][/font][/font]

    "Keep Trying"

  • RE: Little help required with T-SQL

    You can use group by in views. Check out the example in BOL. It contains group by.

    "Keep Trying"

  • RE: a little backup

    Your backup size will be much less than your db size.

    A "little" backup is not possible in SQL. You could take file backups and restore them but i think thats...

    "Keep Trying"

  • RE: Little help required with T-SQL

    Use the Group BY clause

    -- sum of each ID for all yrs

    Select ID,SUM(X) as Total from table Group BY ID

    -- sum of each ID yr wise

    Select ID,SUM(X) as Total from...

    "Keep Trying"

  • RE: Adoption

    I have a project in SQL 2008 to take advantage of spatial data. All the rest of the projects are in SQL 2005.

    Projects running on older version of SQL take...

    "Keep Trying"

  • RE: Database design issue, what to do?

    On the other hand you want to keep your table design as simple as possible so as to avoid writing complex queries to do even the simple things.

    Stored procs can...

    "Keep Trying"

  • RE: DateAdd Function

    Clicked on the wrong radio button :crying:

    "Keep Trying"

  • RE: data type performace

    Char data type will use 7 bytes of space even if the length of the string u r storing is 3 - 3 + 4 space. In the...

    "Keep Trying"

  • RE: Use of Mapping Tables

    To avoid redundancy in the tables. In the ex:- you have mentioned course & course_module tables.

    "Keep Trying"

  • RE: data type performace

    If your length is fixed and that man characters ( 7 in this case) will always be soted in the column then its better to use char data type. You...

    "Keep Trying"

  • RE: Transaction Log size <= Data size.

    Thanks.

    "Keep Trying"

Viewing 15 posts - 361 through 375 (of 1,253 total)