Forum Replies Created

Viewing 15 posts - 286 through 300 (of 627 total)

  • RE: T Sql Query

    Eirikur Eiriksson (5/30/2016)


    tmmutsetse (5/30/2016)


    The query that i am using looks like the one below.

    SELECT

    Name,

    Memory,

    Model

    FROM [xxxx].[dbo].[Status]

    where

    active = 1...

  • RE: An IDENTITY column has reached Max int

    Since your are going to a larger data type I'm pretty sure you can just do something like this and still maintain the seed values.

    ALTER TABLE myTable ALTER COLUMN myColumn...

  • RE: T Sql Query

    tmmutsetse (5/30/2016)


    The query that i am using looks like the one below.

    SELECT

    Name,

    Memory,

    Model

    FROM [xxxx].[dbo].[Status]

    where

    active = 1 and

    and name...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (5/27/2016)


    I just heard from my husband (who works at Deutsche Bank) that there is a holiday coincidence for Monday. A confluence of several countries having bank holidays at...

  • RE: Today's Random Word!

    djj (5/27/2016)


    crookj (5/27/2016)Lash

    Strike

    Back

  • RE: Computed Column that can be edit

    Maybe it's just me but it seems like overcomplicating the matter. As Gail suggested just use a normal VARCHAR column which can be updated any time. This logic...

  • RE: Today's Random Word!

    Grumpy DBA (5/26/2016)


    ThomasRushton (5/26/2016)


    Pie

    Hole

    Black

  • RE: Today's Random Word!

    Ed Wagner (5/20/2016)


    crookj (5/20/2016)


    djj (5/20/2016)


    Manic Star (5/20/2016)


    Ray K (5/20/2016)


    Manic Star (5/20/2016)


    Beautiful (75 and partly cloudy)

    Ugly

    Duckling

    Quack

    Doctor

    Demento

    Shoes

    Running

  • RE: Time card Hours calculation

    Either way I think you have everything you need. Rather than 'remove' the extra enter/exit just filter them out by name in your WHERE clause.

  • RE: Time card Hours calculation

    Savya (5/20/2016)


    HI All let me make it more detailed. There are two exits continuously because a person can go to Facility room which is exit and then exit the building...

  • RE: Using joins in single query question

    Luis Cazares (5/20/2016)


    Just to be sure, because it's a common confusion. Are you using SQL Server?

    In your post you mentioned autoincrement instead of identity (which is the word used in...

  • RE: Using joins in single query question

    I think you are looking for this https://msdn.microsoft.com/en-CA/library/ms187342.aspx

    This will return the last inserted identity value.

    SELECT @@IDENTITY

    You can then use that in a follow up insert statement.

    CREATE TABLE #Customers (ID INT...

  • RE: Time card Hours calculation

    navya8877 (5/19/2016)


    HI Livingston

    I tested with other employer also it is working find. Thanks for checking.

    No J is right, the break time and work time are off if you introduce another...

  • RE: Time card Hours calculation

    Ok, here is my stab at it.

    Notice I used minutes just because it was easier for me to verify the results but you can change it to whatever...

  • RE: Are the posted questions getting worse?

    jasona.work (5/19/2016)


    Brandie Tarvin (5/19/2016)


    Greg Edwards-268690 (5/19/2016)


    Brandie Tarvin (5/19/2016)


    GilaMonster (5/19/2016)


    Lynn Pettis (5/18/2016)


    Found this on my Facebook newsfeed: https://www.packtpub.com/packt/offers/data-week-2016.

    Oooh. Am very tempted to grab both the R and the Data bundles.

    The free...

Viewing 15 posts - 286 through 300 (of 627 total)