Forum Replies Created

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

  • RE: Restore database with all necessary files

    I like that you find it useful.

    I've made the changes proposed by Henrik Staun Poulsen in a previous post and used it in a stored procedure because now there are...

  • RE: Restore database with all necessary files

    Hi Henrik,

    Thank you for the compliment.

    I like your modifications. Thanks for them and I'm going to add them in the script. Probably making a stored procedure...

    Josep.

  • RE: Computed Columns

    I like your articles because are very didactic and thinking in a lot of ways how to do it.

    This one with so many "steps" (approximations), has been useful for me...

  • RE: SQL - Derived Tables

    And why not using this sentence:

    SELECT C.CustomerID, C.CompanyName,

    COUNT(O.OrderID) AS TotalOrders

    FROM Customers C LEFT OUTER JOIN Orders O ON

    C.CustomerID = O.CustomerID AND (YEAR(O.OrderDate) = 1996 OR...

  • RE: DBCC SHRINKDATABASE

    Thank again for your answer!!

    This solve our problems 🙂

    Josep

    PS: Sorry for the delay, I've been on holidays.

  • RE: DBCC SHRINKDATABASE

    Thank you Paul for your answer. I didn't know the need of 8192 byte for each 8000 bytes of data. I going to try to find out why this...

    I need...

  • RE: Does size really matter?

    I'm doing DBA tasks of our clients (15). At the moment they have 2 - 3 Gb but growing, specially the ones that save PDFs. But the maintenance plan is...

  • RE: DBCC SHRINKDATABASE

    I'm not sure that I should post it here, but it's somehow related to SHRINKDATABASE...

    The problem I have is that I save PDFs into the database in IMAGE data types....

  • RE: A Love Hate Affair with User Defined Types

    I have bad experience with UDF. Once I had to change the length of a UDF VARCHAR and it was a nightmare. Solution? I change clear my database of UDF!...

  • RE: Copyright at SQLServerCentral.com

    I like things clear 🙂

    But some lines above in your Terms and Conditions there's the following text:

    "Any information or content provided on the Site (for example in the form of...

  • RE: TinyInt, SmallInt, Int and BigInt

    I like the article. But I think the important of a JOIN performance, too.

    In my database, I have a table that has 14 foreign keys. So, I've a view that...

  • RE: A Special Announcement from Andy, Brian, and Steve

    I'm sure that's a good moment to say:

    Thank you for having grow up this great SQL Server website. Since I discovered it, I've read a lot of your daily articles...

  • RE: Self Eliminated Parameters

    Or the use of the SQL standard COALESCE. Example:

    WHERE Column_Name=COALESCE(@Param_Name, Column_Name)

  • RE: TOP in SQL Server 2005

    I'm not using SQL Server 2005, yet. But I've found this very usefull!

    I'm also curious when you say: "Doing the update in batches doesn't guarantee no blocking of course, but...

  • RE: Beauty is in the Eye of the Beholder

    Interesting the idea but I've some point unclear...

    You can do SQL injection using EXEC, but I think there's no injection possibility using the sp_executesql store procedure.

    Is sp_executesql inneficient? Well,...

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