We are transferring huge amount of data btn SQL Server.
Let's say there are 3 destination tables
1. Tabe A [Master Table]
ID Name
2. B
ID1 Name
3. C
ID2 Name
All the ID's aren't autonumbers. That means I need to take max(ID)+1 and insert into them. For each 'A' record there are...
I've a SQL stored procedure with an xml input parameter and an integer output parameter. Whenever there's a large xml input feed to the stored procedure, I get wrong output value with some large number. I've even tried not including any statment in the stored procedure and hard coded return...
I've a SQL stored procedure with an xml input parameter and an integer output parameter. Whenever there's a large xml input feed to the stored procedure, I get wrong output value with some large number. I've even tried not including any statment in the stored procedure and hard coded return...
delete tbltravel as tt1 where tt1.travelerid, tt1.recordlocator in
(SELECT tblTravel.TravelerID, tblTravel.RecordLocator,max(TravelDate)
FROM tblTravel
group by travelerid,recordlocator
having max(traveldate) < date()-30)
This doesn't work def.. I need a solution where u can condition on 2...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.