Forum Replies Created

Viewing 15 posts - 571 through 585 (of 1,233 total)

  • RE: Scrubbing Data - Good idea or bad idea?

    TeraByteMe (2/24/2016)


    Thanks for all the advice. They all would work well if there was any form of procedure and accountability in the company I work with.

    I started the job almost...

  • RE: LAst date's for past 3 months

    sharonsql2013 (2/23/2016)


    How can I show last days for past 3 months say..

    Jan 2016 (2016-01-31 23:59:59.000)

    , Dec 2015

    and Nov. 2015

    Need to be dynamic as it will change with...

  • RE: Update value in table if value exists more than specified

    They both need to be listed in the database 5 times each based on the specified value of 'BreedListed' that is = 5

    Why not both be 7, or three? What...

  • RE: SSIS Ado.net connection Update SQL

    bwinchester (2/14/2016)


    I understand what you are saying and I agree. I'm my situation, I am updating product information on a remote sql server with data from a local sql...

  • RE: Difference between sys.objects & sys.all_objects

    From MSDN >

    sys.objects

    Contains a row for each user-defined, schema-scoped object that is created within a database, including natively compiled scalar user-defined function.

    Notice it says "within a database."

    Further,

    sys.all_objects

    Shows the UNION of...

  • RE: How to find account number of bank from given records in table

    We cannot use extra columns in file.

    Maybe the person or persons that made this decision and decided to put you as the implementer should take on the task themselves.

    If...

  • RE: How to find account number of bank from given records in table

    ChrisM@Work (2/18/2016)


    Nikku (2/18/2016)


    Hi All

    I have two tables t1 & t2 which contains the same records. t1 is for bank1 & t2 is for bank2

    i.e t1

    accno name balance

    001000 a...

  • RE: Scrubbing Data - Good idea or bad idea?

    Jeff Moden (2/22/2016)


    MMartin1 (2/22/2016)


    Are there industry standard documentation that specifically addresses the correct way to handle this?

    The only one I know is that you must do requirements gathering from your...

  • RE: thinking about Procedure vs trigger

    I would point you to Jeff Moden post and see his link on how to post code problems. It would help us to better help you if you read through...

  • RE: Connection to AS from Excel problem

    You can also check with IT that there is no obscure group policy that prohibits these connections. Though more likely I would see that the service is running on the...

  • RE: Scrubbing Data - Good idea or bad idea?

    Are there industry standard documentation that specifically addresses the correct way to handle this?

    The only one I know is that you must do requirements gathering from your team/client on how...

  • RE: Count of Records in a Table by Military Time.

    Here is what I came up with

    if object_id('#temp2') is not null

    drop table #temp2;

    create table #temp2 (rowNum tinyint, timein int)

    insert into #temp2

    select 1, '0800' union all...

  • RE: Count of Records in a Table by Military Time.

    cast(replace(left(cast((timein/100) as varchar(5)),2),'.','') as int) as hour_ini

    If you are doing timein/100 , isnt the timein column already in integer format? It seems you are converting from integer to string and...

  • RE: case when error in sqlserver

    updateadmin

    set [add]= CASE WHEN uname = 'jain' THEN 1 ELSE [add] END

    ,[ADD] = CASE WHEN uname='baiju' THEN 1 ELSE [edit] END

    whereuname IN ('jain', 'baiju')

    This only gets the unames...

  • RE: thinking about Procedure vs trigger

    example 1

    application have to get data

    procedure in application with timer with parameter will select 1row from Table1

    Why only select one row? Why table1 only? I still dont understand the full...

Viewing 15 posts - 571 through 585 (of 1,233 total)