Forum Replies Created

Viewing 15 posts - 106 through 120 (of 245 total)

  • RE: help with implementing paging in sql sever 2000

    Row_namber() is 2005 only and it is this that generates the id column which is later filterd on.

    in 2000 i would the intial record set into a table variable...

    www.sql-library.com[/url]

  • RE: if condition inside selects?!!

    you need to use a case statement,

    insert table

    select case when @var is null then then field else @var end

    www.sql-library.com[/url]

  • RE: Help tuning SQL Statement

    I dont think you neeed a cursor here and thats what will be slowing it down most.

    Get the data you want to update out of oracle into a table...

    www.sql-library.com[/url]

  • RE: Invalid string or buffer length!!!!

    you can see what user is executing the sp using sql profiler. Set that up then run the app find the user and give it bcp rights

    www.sql-library.com[/url]

  • RE: @@rowcount assignment

     

    drop

    table #test

    declare

    @rows int

    create

    table #test (id int

    www.sql-library.com[/url]

  • RE: Get number of rows

    remembered @@rowcount

    www.sql-library.com[/url]

  • RE: Dynamic Sp creation

    yep i have tried robert's solution on 2005 it doesnt work. Would be interested to see any other solution but i dont think there is one.

    www.sql-library.com[/url]

  • RE: Dynamic Sp creation

    i found a way

    use db1

    declare

    @statement nvarchar(1000)

    select

    @statement = 'create proc newsp...

    www.sql-library.com[/url]

  • RE: Dynamic Sp creation

    i am automating the setup of replication which has customised replication stored procs. I want the sql which alters the default generated sps to be contained in an sp which...

    www.sql-library.com[/url]

  • RE: Dynamic Sp creation

    tried that it tells me that alter\create must be the first statement in the batch

    www.sql-library.com[/url]

  • RE: SQL Certification Industry Standard?

    Thanks guys.

    What actually happened was i went to an interview abroad having had my salary expectation confirmed. It cost me in flights and hotels. On the morning i arrived...

    www.sql-library.com[/url]

  • RE: SQL Certification Industry Standard?

    That is certainly true Andrew. But the specific claim i encountered was that putting SQL Server DBA on your CV implies that you have certification. Surely that is nonsense.

    www.sql-library.com[/url]

  • RE: Script to alter data type

    or any pointers of course

    www.sql-library.com[/url]

  • RE: Handling QUOTES in text strings.

    does the linked server have a different quoted identifier setting or collation?

    www.sql-library.com[/url]

  • RE: Dropping Statistics

    same as principle column

    www.sql-library.com[/url]

Viewing 15 posts - 106 through 120 (of 245 total)