Forum Replies Created

Viewing 15 posts - 2,791 through 2,805 (of 8,731 total)

  • 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: Are the posted questions getting worse?

    ZZartin (5/27/2016)


    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...

  • RE: Today's Random Word!

    Ed Wagner (5/27/2016)


    yb751 (5/27/2016)


    djj (5/27/2016)


    crookj (5/27/2016)Lash

    Strike

    Back

    Empire

    Age (of)

  • RE: Date Change

    That's a good effort. You can do updates to several columns in a single statement.

    Declare @DayInterval INT;

    Set @DayInterval = Datediff(day,(select MAX(dviendtime) from PrmDeviceVisit),GetDate());

    Update dbo.PrmDeviceVisit

    Set DviEndTime = DATEADD(DAY,@DayInterval,DviEndTime),

    ...

  • RE: Date Change

    I was just showing you the formula. You need to generate the UPDATE yourself.

  • RE: Inline Table Functions with IF or Case Statement

    fergfamster (5/26/2016)


    Ok, well i cant give you all my code. If you wanted to create an Inline function and have separate queries returned based on an IF statement is the...

  • RE: Date Change

    This might give you an idea.

    DECLARE @Sample TABLE(

    DviStartTime datetime,

    DviEndTime datetime

    );

    INSERT INTO @Sample

    VALUES

    ('2016-04-18 22:27:33.000', '2016-04-18 22:36:21.000'),

    ('2016-04-18 10:11:23.000', '2016-04-18 10:16:29.000'),

    ('2016-04-17 20:14:01.000', '2016-04-17 20:36:46.000'),

    ('2016-04-16...

  • RE: folder name

    When you say folder name, is it the root folder or the parent folder?

    Can you give several examples? Mainly to get exceptions to the rule. Don't forget to include expected...

  • RE: Are the posted questions getting worse?

    jasona.work (5/26/2016)


    I'm really starting to hate the SSIS Catalog...

    Two servers, same permissions on both. On one, the user can deploy their project no problems (with the deploy project wizard.)

    On...

  • RE: Today's Random Word!

    crookj (5/26/2016)


    Manic Star (5/26/2016)


    Ed Wagner (5/26/2016)


    Revenant (5/26/2016)


    HappyGeek (5/26/2016)


    djj (5/26/2016)


    Manic Star (5/26/2016)


    Grumpy DBA (5/26/2016)


    djj (5/26/2016)


    Ed Wagner (5/26/2016)Oil

    Gas

    Beans

    Musical

    Toot

    Tootsie

    Roll

    Dinner

    Chicken

    Coward

    Courage

  • RE: SQL Date column issues in query

    drew.allen (5/26/2016)


    dogramone (5/26/2016)


    Try running with the variable dates in dd-mon=ccyy format to help with debugging, ie '01 jan 1900

    Do not EVER do this. I believe that there are only...

  • RE: Script to solve this issue

    Don't get me wrong. I can help you, that's why I gave simple hints on were to fix the code.

    But if I just give you the answers, you won't get...

  • RE: Large strings

    drew.allen (5/26/2016)


    Well, the documentation for nchar and nvarchar still says that the the value can be any number from 1 to 4000 or max, and 5000 is clearly not in...

  • RE: Script to solve this issue

    Here are some errors:

    - You didn't create the specified columns on your view, you just mentioned them. You need to use a join to get information from the employees...

  • RE: How to find postcodes with two spaces in the middle?

    Probably this could help. The problem is that you have a char(10) and you're looking for 8-character strings.

    SELECT *

    FROM dbo.Postcode

    WHERE p_code LIKE N'___ ___ ';

Viewing 15 posts - 2,791 through 2,805 (of 8,731 total)