Forum Replies Created

Viewing 15 posts - 3,766 through 3,780 (of 5,393 total)

  • RE: Create db_owner with restrictions to other databases

    Public role doesn't have table access, don't worry about that.

    -- Gianluca Sartori

  • RE: Create db_owner with restrictions to other databases

    db_owner is referred to a single database, it's not a server role.

    You just have to create the user as db_owner of the target database and leave it as "public" on...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    Paul White NZ (10/18/2010)


    Kit G (10/18/2010)


    Heh. I dislike the whole "Green" thing. And that stems from my total disgust at the whole Global Warming/Climate Change "science" that isn't...

    -- Gianluca Sartori

  • RE: update

    GSquared (10/18/2010)


    If it's a large amount of data from Server B, then you might want to insert into a table variable, then from that insert into a temp table that...

    -- Gianluca Sartori

  • RE: update

    I would import the minimum possible amount of data (only required fields) from the remote server into a temp table, index it properly, and then update the local table.

    Such a...

    -- Gianluca Sartori

  • RE: Max

    CREATE PROCEDURE testMaxValues

    AS

    BEGIN

    SELECT CASE

    WHEN (SELECT MAX(MonthId) FROM TableA) > (SELECT MAX(MonthId) FROM...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    Well, I was wrong.

    When I see things like "plz" and "How can i write the Sp PLZ let me know" I...

    -- Gianluca Sartori

  • RE: Max

    If I got things wrong I apologise.

    Anyway it doesn't look like you read the article I recommended.

    To get an answer you should state your question with the following elements:

    1) Table...

    -- Gianluca Sartori

  • RE: Max

    http://www.sqlservercentral.com/Forums/FindPost1006152.aspx

    Looks like homework.

    Am I wrong?

    -- Gianluca Sartori

  • RE: Urgent Plz

    The point I'm trying to make is that your question doesn't contain enough information to get a sensible answer.

    Read the article and add the requested info to your question.

    -- Gianluca Sartori

  • RE: Urgent Plz

    You're not going to get useful answers for this problem, unless you take the time to describe it properly.

    See the article linked in my signature and find out how to...

    -- Gianluca Sartori

  • RE: Cursor within a UDF

    davrose (10/18/2010)


    Well..i know how recursive CTEs work 😀

    i am interested in the select on the rCTE.

    Anyway... now it works on the real problem as well 😉

    Oh, sorry!! :blush:

    No offense meant!...

    -- Gianluca Sartori

  • RE: Cursor within a UDF

    WITH zones AS (

    SELECT dnsname, alias

    FROM dnszone AS A

    ...

    -- Gianluca Sartori

  • RE: Cursor within a UDF

    It took me a while to get it to work...

    Thanks for the feedback, glad it works for you.

    -- Gianluca Sartori

Viewing 15 posts - 3,766 through 3,780 (of 5,393 total)