Forum Replies Created

Viewing 15 posts - 50,131 through 50,145 (of 59,078 total)

  • RE: Changing row format

    My turn to appologize... I though you were talking about unpivoting. What you did with the pivot is just fine. You can also do something similar with dynamic...

  • RE: Changing row format

    Heh... you still used dynamic sql... not so bad as RBAR, but post the spreadsheet you're trying to resolove... lemme take a whack at it.

  • RE: Changing row format

    Post what you did for the problem... attach the spreadsheet you used if nothing private is in it.. let's give 'er a whirl. 😀

    Any links I would be using at...

  • RE: Changing row format

    You didn't listen if you ended up using RBAR and hardcoded names... you didn't read the articles that were suggested well enough.

  • RE: Deleting more than one row?!

    I can't duplicate the error. In other words, I get no error unless certain rows are being used by foreign keys.

  • RE: BETWEEN

    Anirban Paul (6/5/2008)


    why complain folks, question is good, only you have to read it long time to understand.....:)

    The problem is that designers and PM's write the same kind of mistake.

  • RE: Compare 2 dates

    Crud... I just realised this is for integration services... hope what I wrote for you still works...

  • RE: Compare 2 dates

    Kind of... if both datatypes, 1 for the function and 1 for the column, are datetime, why not use that to your advantage?

    DECLARE @Today DATETIME

    DECLARE @Tomorrow DATETIME

    ...

  • RE: Query

    Please read the article at the URL in my signature before you post again. You're post should have looked like the following...

    --===== Setup the test table

    ...

  • RE: Compute Column

    Of course, you also realize how dangerous this is? If you were to change the price on an item list, you would change all orders that referenced it ......

  • RE: Compute Column

    You can have a computed column that automatically does this. A computed column really doesn't like to refer to other tables or even other rows. Certainly, they don't...

  • RE: Compare 2 dates

    I don't believe you need the "@" sign. Also, what datatype does the function return? If one or both are datetime datatypes (like GETDATE() is), then you can...

  • RE: how to retrive data from .csv

    Use bulk insert to import the file into a table and join to it as you normally would.

    As an alternative, you could Create a Linked Sever or OPENROWSET and read...

  • RE: Find number of weekdays(Monday,Tuesday..) between two dates monthwise

    The formula in the following article will calculate weekdays without a loop. There is, however, no consideration for holidays...

    http://www.sqlservercentral.com/articles/Advanced+Querying/calculatingworkdays/1660/

  • RE: Terminate Inactive Connections

    Yep... make sure that nothing under spid 50 is affected in this manner. System would hate it...

Viewing 15 posts - 50,131 through 50,145 (of 59,078 total)