Forum Replies Created

Viewing 15 posts - 181 through 195 (of 295 total)

  • RE: SQL Server 2000 Enterprise/Standard Edition on Windows XP?

    I'm curious as to why would you want to spend £4100 (GBP) for SQL Enterprise edition to run on a £130 desktop operating system (XP)?

    It's "SQL Server" not "SQL Desktop"...

  • RE: Error with linked Server

    Try this:

    -- no login name or password are required to connect to the Jet4 ISAM linked server

    EXEC sp_droplinkedsrvlogin 'billNotes', NULL

    This removes the default mapping that is created by sp_addlinkedserver.

    You...

  • RE: Renaming Linked Server

    Sorry no, except for dropping and creating.

    However, this should work but I don't know the side effects:

    EXEC dbo.sp_configure 'show advanced options', 1

    GO

    RECONFIGURE

    GO

    EXEC dbo.sp_configure 'allow updates', 1

    GO

    RECONFIGURE...

  • RE: Grant a Database User Execute Permission on all stored procs on a database

    This just runs a cursor for you, but you don't have to write it 

    EXEC master.dbo.xp_execresultset '

    SELECT

            ''GRANT EXECUTE ON dbo.'' + SPECIFIC_NAME + '' TO <role>

    FROM

           ...

  • RE: What is the best solution: a long stored procedure or several sql queries?

    I'd say separate stored procedures

    More chance of compiled plan re-use and definitely easier maintenance

  • RE: Renaming Linked Server

    Use "sp_setnetname" to change the "data_source" of the linked server

    We don't use actual server names for our linked servers, but use sp_setnetname to keep, for example, the same linked server name...

  • RE: Data Types

    CREATE TABLE tblFoo (dummycol char(3) NOT NULL)

    INSERT tblFoo VALUES (-1)

    SELECT dummycol, LEFT(dummycol, 1), SUBSTRING (dummycol, 2, 1) FROM tblFoo

    gives

    dummycol          

    -------- ---- ----

    -1       -    1

    It's the string "-1" not...

  • RE: SEERVER ALIAS

    On PC2, have you tried osql -E -S "FRC-GIIT-CIRKUS\MYSQL"

  • RE: SEERVER ALIAS

    What OS do you have?

    If you have XP SP on PC1 and it's windows firewall is enabled, this may block connections to your SQL instance on PC1

  • RE: SEERVER ALIAS

    Sorry, I've misunderstood your original post.

    Can you set up an ODBC connection?

    I'll post more in a minute

     

  • RE: How can I merge 8 records in two records?

    Assuming that "1161870" is an ID value,

    SELECT

        P.ponr,

        P.vartkst AS PolisNrOud,

        M.vartkst AS Maatschappij,

        B.vartkst AS Bedrag,

        O.vartkst AS Overdrachtsdatum

    FROM

      (SELECT ponr, vartkst FROM phh030 WHERE (veldc+2)%4 = 0) P

      JOIN...

  • RE: Running a remote stored procedure

    Thanks.

    I didn't say I'd actually done it though!!!

    Actually, I wrote one routine that does this on our log shipping server so ensure that login changes are replicated on our standby...

  • RE: Running a remote stored procedure

    We've centralised like this for 30 SQL Servers, but we duplicated code.

    We store the data locally as well as remotely, though

    One option is to use a linked server with a...

  • RE: SEERVER ALIAS

    You can hardcode port numbers.

    The first start up wil determine the port number.

    For example, in "Security Account Delegation" scenarios (see BOL) you have to use the port number to with "setspn"....

Viewing 15 posts - 181 through 195 (of 295 total)