Viewing 15 posts - 106 through 120 (of 244 total)
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...
November 29, 2006 at 7:21 am
you need to use a case statement,
insert table
select case when @var is null then then field else @var end
November 29, 2006 at 7:02 am
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...
November 28, 2006 at 9:45 am
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
November 28, 2006 at 9:27 am
drop
table #test
declare
@rows int
create
table #test (id int
November 3, 2006 at 5:42 am
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.
November 2, 2006 at 3:19 am
i found a way
use db1
declare
@statement nvarchar(1000)
select
@statement = 'create proc newsp...
November 1, 2006 at 6:15 am
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...
November 1, 2006 at 5:48 am
tried that it tells me that alter\create must be the first statement in the batch
November 1, 2006 at 5:27 am
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...
October 23, 2006 at 9:52 am
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.
October 20, 2006 at 3:25 am
does the linked server have a different quoted identifier setting or collation?
September 16, 2006 at 6:22 am
Viewing 15 posts - 106 through 120 (of 244 total)