Forum Replies Created

Viewing 15 posts - 31 through 45 (of 285 total)

  • RE: Problem with joins

    Just a hunch given I can't know the actual data, but it could be that you need left/right joins rather than inner ones. The query you use will only return...

  • RE: How to find bound defaults?

    Ellen-477471 (4/15/2013)


    Is there an easy way to find all the bound defaults on table objects.

    We have an app where many of the tables have defaults bound to columns.

    The defaults were...

  • RE: Shrink log file

    simon.murin (4/17/2013)


    Jpotucek (4/17/2013)


    I have a Database (about 1GB) with 2 log files (one at about 4GB and one at about 13 GB)

    Just a note - a SQL Server database...

  • RE: Ways to replicate

    zouzou (3/15/2013)


    Thank you guys,

    Will it work if the users connect to the replicated database all the time? Excel creates a connection that always stays there until you close the spreadsheet..

    I...

  • RE: The distribution agent failed to create temporary files

    pcwik (3/14/2013)


    I setup replication using the impersonate settings, so it's using the SQL Agent account which is domain and is an Admin on both boxes. I'm still getting the...

  • RE: Ways to replicate

    Would transactional replication work for you? You could replicate to another box which could then be accessed by those who need reporting, without affecting your live database. It's not usually...

  • RE: The distribution agent failed to create temporary files

    Hi all

    I managed to fix it. Confusingly, although the error message was on the publisher/distributor, the folder it was referring to was on the subscriber. I gave the distribution agent...

  • RE: Cast in Varchar with different options

    A good question, in that if you knew the behaviour being asked about, then it was easy to pick the correct answer as there was no unnecessary obfuscation.

  • RE: Union and Union All

    Toreador (7/9/2012)


    I thought it looked familiar!

    http://www.sqlservercentral.com/Questions/Tags/UNION/UNION/

    I'm working backwards through the QODs at the moment after a bit of a gap, so hadn't seen the March 8th question. However,...

  • RE: Union and Union All

    Bob Razumich (7/9/2012)


    Knowing how sometimes several consecutive (or semi-consecutive) QOTDs have followed a theme, I can't help but wonder if Mr. Pryde just ruined someone's forthcoming submission.

    It did occur to...

  • RE: Union and Union All

    Not a bad question, and got me thinking about other possible questions, so here goes - how many rows are returned in the two following cases?

    -- Query 1

    SELECT 'A'

    UNION ALL

    SELECT...

  • RE: Execs and temporary tables

    Good question, thanks.

  • RE: DateFormat

    Thomas Abraham (7/3/2012)


    Thanks for the question. I thought it was bad enough being in America where most everyone uses mmddyyyy. But, yyyyddmm makes even less sense to me. Anyone know...

  • RE: DateFormat

    Stewart "Arturius" Campbell (7/3/2012)


    Duncan Pryde (7/3/2012)


    Good question. Is this related to the behaviour of datetimes versus datetime2s with the british language setting?

    SET LANGUAGE BRITISH

    GO

    DECLARE @datevar datetime2 = '2008-12-13'; -- no...

  • RE: DateFormat

    Richard Warr (7/3/2012)


    Well, I'm British and I don't know anybody who has ever used YDM format. We go for DMY or YMD.

    I do, but it has been "by accident" in...

Viewing 15 posts - 31 through 45 (of 285 total)