Forum Replies Created

Viewing 15 posts - 1,666 through 1,680 (of 2,458 total)

  • RE: Parameter Validation ?

    Sorry, I almost forgot about this post. I put together an example of how you would do what I was talking about; attached is the RDL so you can just...

  • RE: Microsoft and R

    chrisn-585491 (3/25/2015)


    Plus F# isn't a wallflower. F# is the best of the functional first languages. If you are a serious developer and not just a CRUD developer, F# is a...

  • RE: Employee status on first and last day of a pay period

    I am still working on a solution to this, (I thought I had something but just saw your reply to Jeff)...

    In the meantime I came up with a better way...

  • RE: Help Cannot update ID Witn Xquery

    This is a somewhat ambiguous request. Can you explain what the @NewID, @GroupID, and @i variables are for. We're those something you were attempting to use to solve this...

  • RE: Problem with creating XML file by nesting functions

    Not to take anything away from what joe put together for you I bet if you put Eirikur's solution into an inline table valued function it would perform much better...

  • RE: SSMS or SSDT

    others bemoan the demise of isql/w

    Yep. I was one of those people. This thread brought back some memories.

    I do all my SQL in SSMS. SS%S happens in Visual Studio.

  • RE: does anyone here still use database triggers?

    Alvin Ramard (3/26/2015)


    Grant Fritchey (3/26/2015)


    Piling on.

    ...

    Now, multi-statement, table-valued, user-defined functions on the other hand, those things are all things evil.

    You mean in a trigger? 😀

    I suspect he meant that...

  • RE: Create Temp Table vs Truncate & Insert - Performance

    Lowell (3/26/2015)


    my fast proof of concept: drop and recreate is definitely slower

    in a measly 1000 iterations,these were my stats:

    2113 milliseconds for Drop and Recreate

    543 milliseconds for Truncate Existing Table

    and my...

  • RE: Parameter Validation ?

    Just to add to what Magoo said, if you don't have a dates table (and can't create one) you could create a stored proc that produces one like so (just...

  • RE: does anyone here still use database triggers?

    I don't think there is anything wrong with Triggers when used for the right reasons and used correctly. I have seen people do bad things with triggers.

    Dwain Camps recently...

  • RE: Create Temp Table vs Truncate & Insert - Performance

    There is no difference between truncating a temp table vs dropping/recreating it. Truncating and dropping/recreating a table can be measured in milliseconds.

    As Alexander said - it would be good...

  • RE: T-SQL Pivot

    Had a few moments to kill...

    USE tempdb

    GO

    -- It's always good to provide sample data in an easily usable format like so

    CREATE TABLE dbo.

    ([year] int not null,

    Client_Name varchar(100) not...

  • RE: What would Fill Factor Do?

    PHYData DBA (3/24/2015)


    Alan.B (3/23/2015)


    My apologies - I misread you original post a little. I was under the impression that some of these indexes were 10% fragmented weekly, not more than...

  • RE: Help with query

    SELECT * FROM

    (

    SELECT LocationID, LanguageID ,LocationLanguageRecID,

    row_number() over (partition by LOCATIONID

    order by LocationLanguageRecID) LineNumber

    FROM LocationLanguages

    ) X

    WHERE LineNumber = 2

  • RE: Help with finding multiple Character Occurence in String

    Luis Cazares (3/24/2015)


    Alan.B (3/24/2015)


    Luis Cazares (3/24/2015)


    This is a quick idea.

    WITH Letters AS(

    SELECT TOP 26 CHAR(ROW_NUMBER() OVER(ORDER BY (SELECT NULL)) + 64) letter

    FROM...

Viewing 15 posts - 1,666 through 1,680 (of 2,458 total)