Viewing 15 posts - 2,251 through 2,265 (of 5,103 total)
If you need all the formating on the server side, can you post a bit of DDL ![]()
If you don't then join the tables...
* Noel
July 18, 2006 at 10:34 am
Sorry for the bad news but downgrade restores are not possible.
As a workaround use DTS, bcp, or SSIS
Cheers,
* Noel
July 18, 2006 at 10:32 am
I wonder how you changed the collation of all the columns! It is not a simple operation when those are using FK, Indexes, Check Constraints, statistics, etc ...
As expressed above...
* Noel
July 18, 2006 at 10:25 am
Or redesign that sp into multiple sp(s) and let that developer choose the lower level one. In other words, modularize the code ![]()
* Noel
July 18, 2006 at 9:53 am
Paul,
I believe that definitely a re-write is definitely the only posibility
If you can, keep us posted!
* Noel
July 18, 2006 at 9:37 am
Create trigger tr_upd_employee on Employees for insert
as
if @@rowCount = 0 return
if Update ( TeamID )
begin
Insert into AuditTable ( EmlpoyeeID, OldTeam, NewTeam)
select new.EmployeeID, ot.TeamName, nt.TeamName
from inserted new join deleted old...
* Noel
July 17, 2006 at 2:10 pm
Can you post some sample data... to help us a bit ![]()
* Noel
July 17, 2006 at 2:03 pm
Make sure also that the first statement of your proc is
SET NOCOUNT ON
* Noel
July 17, 2006 at 1:58 pm
There have been several post lately identifying poor performance with the ntile feature and some alternate methods have been proposed
ex: http://sqljunkies.com/WebLog/sqlbi/archive/2006/04/19/20482.aspx
Give that a shot!
Cheers,
* Noel
July 17, 2006 at 1:40 pm
I think you need to use the following :
* Noel
July 14, 2006 at 1:09 pm
I also think that saying never use select into is extreme. It has good qualities as expressed above in terms of log space and data migrations. It also can be...
* Noel
July 14, 2006 at 10:38 am
He he ... You forgot to include <shameless plug> in your comments joe.
I have read your book and I have read others too and not everything is as cut and...
* Noel
July 7, 2006 at 8:04 am
Can you post the code of the procs ?
* Noel
June 30, 2006 at 1:43 pm
Peter, can you come up with an example in which my solution doesn't give the right result? (Clue: the answer is no.)
assume first table has id =3 and fk...
* Noel
June 30, 2006 at 1:16 pm
By the way If you are expecting it to grow I would not shrink it at all!! you will incur in physical fragmentation next when it fills up and you...
* Noel
June 30, 2006 at 8:17 am
Viewing 15 posts - 2,251 through 2,265 (of 5,103 total)