Forum Replies Created

Viewing 15 posts - 496 through 510 (of 617 total)

  • RE: Insert into Table exec proc with multiple resultsets

    I could be wrong (and would love to know the solution if there is one) but I think you can only retrieve the last recordset from an SP.

  • RE: dates returned from SQL query are being subtracted in Excel

    You know ya'll could leave the original question and the answer for the rest of us to read :). I love reading stuff with solutions .. its a lot...

  • RE: Insert into Table exec proc with multiple resultsets

    All you are looking for is a list of column names and their definitions correct?

    In that case why not use INFORMATION_SCHEMA.COLUMNS. It should have everything you need.

  • RE: Return value using exec(@query)

    Here is an example of what you need to do:

    declare @sql nvarchar(400)

    declare @test-2 int

    set @sql = 'select @test-2 = count(*) from sysobjects'

    exec sp_executesql @sql, N'@test int output', @test-2 output

    select @test-2

    You...

  • RE: 701: There is insufficient system memory to run this query

    Assuming the service pack doesn't work have you thought about taking a different route?

    And fair warning I'm not an expert on replication. I know just enough to be dangerous.

    Have...

  • RE: update - join-problem

    Very cool. I've never seen the CROSS APPLY before. Is this new to 2005? Also I have to say the BOL help on it is one of...

  • RE: Table Sostitution

    True enough. Although I have used views within SPs that get called more on the order of 100-1000 times a second without any real problems.

    I'm still thinking the rename...

  • RE: Subquery

    I think we need more information on this one. I'm not sure I understand what you mean by using 1 column from the query as a sub query? ...

  • RE: Table Sostitution

    So then you are back to doing a manual adjustment of a script file.

    However I would like to see the performance on the view assuming that you have an identity...

  • RE: Table Sostitution

    In that case I would change name of the Doctor table to Doctor_Name and the name of the view to Doctor. That way your code and views and SPs...

  • RE: ALTER Function with dependencies

    Andras Belokosztolszki (11/14/2007)


    Disclaimer: I wrote a large part of this tool and I do work for Red Gate. There are other alternatives, but the one I mentioned is the one...

  • RE: SQL 2005 DB Upgrade

    A completely off the wall thought and I'm not even sure it would make a difference but have you checked the compatability level? Any chance it a 6.5 database?...

  • RE: SQL 2005 DB Upgrade

    You could try making a copy of your mdf, ldf files and then attaching them rather than doing the backup restore route.

  • RE: Error- when I try to see properties of database

    Does the file "e:\MSSQL_dataew_db_data1.ndf" still exist? Did it ever to your knowledge?

    You could try doing a backup and restore to another DB Name just to see if it works....

  • RE: Table Sostitution

    Definatly not stupid. And had you been working in 2000 it would have been a reasonable one (minus all of the problems I've mentioned above). Fortunatly (or unfortunatly...

Viewing 15 posts - 496 through 510 (of 617 total)