Forum Replies Created

Viewing 15 posts - 871 through 885 (of 1,131 total)

  • RE: what do commands that start with xp like xp_cmdshell for

    Stored procedures that begin with xp are extended stored procedures e.g. dynamic-link libraries (DLLs) that SQL Server can dynamically load and execute.

    Stored procedures that begin with dt_ are either for...

    SQL = Scarcely Qualifies as a Language

  • RE: Thorough logging in MS SQL 2000

    I have a set of stored procedures that define at trace that writes to a file. This is usually used for record SQL for performance problem investigation, but you should...

    SQL = Scarcely Qualifies as a Language

  • RE: Use GETDATE() within a UDF

    I may change my mind on UDFs.

    I now believer "deny create function to public" is the most appropriate.

    Public includes everyone except system adminstrators and does include users with ddl_admin or...

    SQL = Scarcely Qualifies as a Language

  • RE: Incremental upload of data from Oracle to SQL server

    One alternative is to use a database replication tool. My experiences with database replication have been very bad, as the vendor tools from MS and Oracle seem to be...

    SQL = Scarcely Qualifies as a Language

  • RE: Cannot reclaim unused space in table.

    As a further suggestion, as Microsoft would charge if you opened a problem, post to a Microsoft newsgroup. An MS person might be willing to open a problem for free...

    SQL = Scarcely Qualifies as a Language

  • RE: Use GETDATE() within a UDF

    Sergiy: Thanks for catching the typing error

    "Do not put table access in stored procedures !"

    should be

    "Do not put table access in FUNCTIONS!"

    SQL = Scarcely Qualifies as a Language

  • RE: QUESTION: SQL Server access in a one-way trust

    The original version of MDAC version 2.6 that was installed with SQL server 2000 has a known bug with igonoring authentication settings.

    See FIX: SQL Server ODBC Driver Ignores Authentication Setting

    http://support.microsoft.com/kb/q279526/

    You...

    SQL = Scarcely Qualifies as a Language

  • RE: Use GETDATE() within a UDF

    Sergiy is absolutely correct.

    If a UDF needs the current date, pass the value as a parameter.

    Here is a story regarding the use of UDFs that include table access.

    About 2 years...

    SQL = Scarcely Qualifies as a Language

  • RE: Cannot reclaim unused space in table.

    AHAH, at least we can now narrow down the problem to the text!

    The clustered index (indid = 1) has reserved 34,363 pages and used 34,363 pages which is 265 Mb...

    SQL = Scarcely Qualifies as a Language

  • RE: Very wierd procedure execution

    Are @intP1 and @intP2 parameters to the stored procedure ?

    Are the values changed within the sp ?

    If the answer to either question is true, that might be the cause.

    For an...

    SQL = Scarcely Qualifies as a Language

  • RE: Is there an easy way to copy data from one column to another within the same table?

    If the columns are in the same table:

    Update MyTable

    set MyNewColumn = MyOldColumn

    if the columns are in different tables:

    Update MyNewTable

    set MyNewColumn = (select MyOldColumn from MyOldTable where some criteria )

    SQL = Scarcely Qualifies as a Language

  • RE: Maintaining scheduled password changes for multiple servers?

    How familiar are you with DTS and Global Variables ?

    I can send you an example DTS package that you could modify.

    Here is the "driver" SQL code to call a DTS...

    SQL = Scarcely Qualifies as a Language

  • RE: Cannot reclaim unused space in table.

    How very strange !!!

    Just to confirm that the exact order of the steps were:

    DBCC REINDEX (on the same index with a fill factor of 90)

    go

    DBCC updateusage ( DatabaseName, NotMyTable)

    go

    sp_spaceused NotMyTable

    go

    Some...

    SQL = Scarcely Qualifies as a Language

  • RE: LEFT OUTER JOIN IS NULL or WHERE xx NOT IN(select..)

    Sergiy, you are absolutely correct that the "LEFT OUTER JOIN" produces a different result compared to the "NOT IN"

    I did not think about the case where the columns could be...

    SQL = Scarcely Qualifies as a Language

  • RE: LEFT OUTER JOIN IS NULL or WHERE xx NOT IN(select..)

    Yes, I did open the link but do not see how using a left outer join will help in those case where the join key in the dependent table is...

    SQL = Scarcely Qualifies as a Language

Viewing 15 posts - 871 through 885 (of 1,131 total)