Forum Replies Created

Viewing 15 posts - 5,236 through 5,250 (of 15,381 total)

  • RE: What does >+ do?

    What did the script look like? I am not familiar with that one but it must have something to do with context because I get a syntax error every way...

  • RE: trouble shoot

    ramyours2003 (4/8/2014)


    I got error as belwo

    Description: x:\MSSQL\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\tData.mdf Operating system error 665(The requested operation could not be completed due to a file system limitation) encountered.

    How to reslove this?

    You should keep...

  • RE: Complex SQL Pivot Query Urgent Help Needed

    Notice how g.britton posted ddl and sample data in a consumable format. That is what you should do in the future. Well done g.britton and thanks.

    Here is another approach to...

  • RE: Embedding a variable into a parameter when calling a stored procedure

    Here is one way to do this.

    --Declare needed variables

    --Declare @NoOfApprovals Int --don't need this

    declare @Subject varchar(100) --adjust to meet your actual datatype of the parameter

    --Get count of approvals

    Select @Subject =...

  • RE: Select statement and variables

    robmcbarron (4/8/2014)


    Noted for next time Sean!:w00t:

    The output from the sample data gives you the number of months between date x and date y and runs perfectly fine on it's own....

  • RE: Combining multiple rows into columns

    meltingchain (4/8/2014)


    Thank you Luis, the articles were new to me and I'm always looking for something to learn.

    Also thank you Sean, this example was exactly what I was looking...

  • RE: Is there a way?

    MyDoggieJessie (4/7/2014)


    Thanks for the code Sean. I let it run for about 20 mins and killed it...

    These tables are rather large :crazy:

    Going to do some creative "googling" and see...

  • RE: Syntax Validation

    I figured the author was looking for NOEXEC but I disagree with the opinion that it is the best way.

  • RE: Is there a way?

    Not so sure the xml approach is going to be very fast with 200 million rows. What about using MAX(SomeColumn)? That would likely be faster than where Column IS NULL....

  • RE: Select statement and variables

    robmcbarron (4/7/2014)


    Thanks for your responses and apologies for not getting back sooner.

    @Sean Lange - Thanks for introducing those aliases as it is far easier to read! The results from your...

  • RE: Doubt on Dynamic SQL

    balasach82 (4/7/2014)


    I have a set of 5 queries as 5 rows in a table. I am looping 1 by 1 and execute the queries, 5 in all, using sp_exectuesql

    what is...

  • RE: Combining multiple rows into columns

    Big Kudos!!! You are new around here and you posted everything so nicely. This makes it simple and easy to work on the issue. As Luis said, the articles are...

  • RE: Insert Into with nested Selects

    Jeff Moden (4/7/2014)


    Why are we inserting into an IDENTITY column???? :ermm::blink::crying::pinch::sick:

    Sounds to me like the OP is going inserting data that was missed in the original programming. Therefore you need...

  • RE: LINQ vs SQL Questions

    john.deprato (4/7/2014)


    From my experience, it's how you write the LINQ query that makes the biggest difference. Whether you are using lambda expressions or writing from selects, etc... I have been...

  • RE: Query regarding Update the data using application

    Oblivion (4/7/2014)


    Using the ISNULL() method you will also have to account for the user deleting description1 or effectively setting it to ''. You will need to pick up that change...

Viewing 15 posts - 5,236 through 5,250 (of 15,381 total)