Forum Replies Created

Viewing 15 posts - 496 through 510 (of 1,162 total)

  • RE: WHERE Date Range

    GilaMonster (2/27/2012)


    Parameter sniffing problems occur any time a plan is compiled (for explicitly parameterised ad-hoc queries, for auto-parameterised ad-hoc queries, for explicitly parameterised dynamic SQL, for auto-parameterised dynamic SQL, for...

  • RE: WHERE Date Range

    Jeff Moden (2/25/2012)


    HowardW (2/24/2012)


    Artoo22 (2/24/2012)


    SELECT*

    FROM#t

    WHEREDateCreated >= ISNULL(@FromDate, DateCreated)

    ANDDateCreated <= ISNULL(@ThroughDate, DateCreated)

    It might look neater, but the use of scalar functions (ISNULL) guarantees that indexes can't be used to fulfil the...

  • RE: Query help

    Not sure I quite followed you, but looking at the query you've written, is this all you're after:

    SELECT STRT.prog ,

    STRT.ordno AS...

  • RE: SSAS Tabular sample project: failing to process Internet Sales?

    I think given the nature of the product, they're pretty much assuming everyone will be using a 64-bit O/S with it.

    Remember, Virtual Address Space and RAM are two different...

  • RE: SSAS Tabular sample project: failing to process Internet Sales?

    I suspect this is a Virtual Address Space issue. The Tabular Model sounds like it's built on a similar premise to PowerPivot and this is limited to 2GB of address...

  • RE: get the list of all encrypted columns in db

    I'm not an expert on the encryption in SQL Server, but from looking at the BOL article on column encryption, there's no such thing.

    It's simply a varbinary column that...

  • RE: why we use 'NOT EXISTS' ?

    It's a check that only returns the distinct Regions in #Import that don't exist in Fireball.dbo.Region. E.g. This pattern would be common in the select for an INSERT into Fireball.dbo.Region,...

  • RE: delete old log files

    Easy enough. Just open the master package, go to SSIS->Logging... then create an SSIS Logging Provider for Text Files. In the details, just select OnError and OnWarning and they'll automatically...

  • RE: SQL Agent not automatically starting on boot.

    If the service starts ok manually and the logon trigger is doing something that's complicated/dependent on another windows service that's in the process of coming up when the server gets...

  • RE: Are the posted questions getting worse?

    Cadavre (2/24/2012)


    I can only make the Saturday - it's the first conference of any kind that I've attended so I'm not even able to convince myself that it'll be worthwhile...

  • RE: WHERE Date Range

    Artoo22 (2/24/2012)


    SELECT*

    FROM#t

    WHEREDateCreated >= ISNULL(@FromDate, DateCreated)

    ANDDateCreated <= ISNULL(@ThroughDate, DateCreated)

    It might look neater, but the use of scalar functions (ISNULL) guarantees that indexes can't be used to fulfil the query.

  • RE: WHERE Date Range

    This is a classic Catch-All query.

    Gail's post here[/url] summarises the different options well.

    The construct you've posted above could be very bad for performance prior to SQL 2008 SP2, but you...

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (2/23/2012)


    HowardW (2/23/2012)


    Is anyone here going to SQLBits X in London?

    Looking forward to some of the BI sessions as I haven't spent enough time delving...

  • RE: Are the posted questions getting worse?

    Is anyone here going to SQLBits X in London?

    Looking forward to some of the BI sessions as I haven't spent enough time delving into 2012 yet.

    Are there any...

  • RE: SQL Server Language

    http://en.wikipedia.org/wiki/Transact-SQL

    Transact-SQL (T-SQL) is Microsoft's and Sybase's proprietary extension to SQL. SQL, often expanded to Structured Query Language, is a standardized computer language that was originally developed by IBM for querying,...

Viewing 15 posts - 496 through 510 (of 1,162 total)