Forum Replies Created

Viewing 15 posts - 1,861 through 1,875 (of 2,647 total)

  • RE: How to get MTD sum and divide by individual group

    agbondoc (1/25/2012)


    Thanks Jared.

    You are correct that I am new to this forum and I will read (if time permits) the reference you sent and educate myselt on the "forum standards"....

    Jared
    CE - Microsoft

  • RE: Stored proc help

    You could execute this procedure as such...

    DECLARE @returnVal INT;

    EXEC [dbo].[LitespeedBackupDB] @Dbname = '<database name>', @BackupPath = '<backup path>', @retval = @returnVal OUTPUT;

    SELECT @returnVal;

    Jared
    CE - Microsoft

  • RE: How to get MTD sum and divide by individual group

    CELKO (1/24/2012)


    You then ask us to divide these into the foo_types, but we have no rules for that division. We have no idea how many foo_types and if they are...

    Jared
    CE - Microsoft

  • RE: Changing Job Owners in SQL Server 2008 Yields Strange Behaviour

    Did you ever run sp_change_users_login 'auto_fix', '<login>'

    Jared
    CE - Microsoft

  • RE: How do I know if the SDK is installed?

    I think that the "easiest" way is to run the features discovery from the install disk.

    Jared
    CE - Microsoft

  • RE: aggregate select

    bill.akin (1/24/2012)


    I am beginning to doubt my knowledge of sql. seems i can not even write a simple query.

    select count(member_number), member_time.date

    from member_time

    where member_time.date >=convert(date,DATEADD(dd,-1,GETDATE())) and member_time.date <=convert(date,dateadd(dd,-7,getdate())

    group by...

    Jared
    CE - Microsoft

  • RE: Totaling Hours and Minutes

    ramses2nd (1/24/2012)


    Yes the source table for this data does include a clock in and clock out time but I could not use thoses fields in the calculation since there are...

    Jared
    CE - Microsoft

  • RE: Totaling Hours and Minutes

    Just curious... In your sample data are you giving us the entire actual table, or not? My guess is that there is a clock in datetime and a clock...

    Jared
    CE - Microsoft

  • RE: Restore Database Failed

    Steve Jones - SSC Editor (1/24/2012)


    Switching to simple breaks your recovery chain, if you are backing up logs and expecting to recover to a point in time.

    I think he is...

    Jared
    CE - Microsoft

  • RE: SQL server back up

    I had a member of our ops department come in the other day and ask why he couldn't restore a backup he had of the accounting database (for some reason...

    Jared
    CE - Microsoft

  • RE: getting rid of "dbo." prefix in Access

    What happens when the schema is not dbo?

    Jared
    CE - Microsoft

  • RE: Shrinking Log Files

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


    Lian Pretorius (1/24/2012)


    dwilliscp (1/24/2012)


    Thanks for your imput.. they are trying to keep Very small log files. I guess the forecasting software must create batches of large changes,...

    Jared
    CE - Microsoft

  • RE: Weird AND Problem

    What exactly was the issue? You really haven't explained anything here; kind of like saying my computer doesn't work and just leaving it at that 🙂

    Can you please post sample...

    Jared
    CE - Microsoft

  • RE: Select based on date

    While we wait for your sample data, you can look at the DATEDIFF or DATEADD functions.

    Jared
    CE - Microsoft

  • RE: How to get MTD sum and divide by individual group

    Can you please provide sample data and table DDL in the form of SQL statements. See this article for reference:

    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    Jared
    CE - Microsoft

Viewing 15 posts - 1,861 through 1,875 (of 2,647 total)