Viewing 15 posts - 61 through 75 (of 138 total)
Yes that's just what I mean - so if you have say IF (A!=B OR C!=D) then there is no need to evaluate C!=D id A did not equal B...
James Horsley
Workflow Consulting Limited
November 24, 2007 at 5:42 pm
dgvsbabu (11/21/2007)
select * into otherdbname..tblname from currentdbname..tblname
otherwise if you want to copy ony the table structure try...
James Horsley
Workflow Consulting Limited
November 23, 2007 at 7:31 am
I don't think so.
Surely it isn't beyond the realms of what the optimiser is doing ... but as database is one area MS does have real competition I guess if...
James Horsley
Workflow Consulting Limited
November 22, 2007 at 2:19 am
So MS could add a performance boost in SQL2009 by short circuiting ...
James Horsley
Workflow Consulting Limited
November 19, 2007 at 3:28 am
No wonder it was faster ....
If any of the variables are Null if will be doing a compare with a Null which is a no no -- perhaps this simple...
James Horsley
Workflow Consulting Limited
November 16, 2007 at 9:28 am
Pedantically you should use LIKE '[_]WA[_]Sys[_]%' because the underscore is a match for any single character in a like clause so Like '_WA_Sys%' would also match e.g. XWAZSYsIndex though of...
James Horsley
Workflow Consulting Limited
November 16, 2007 at 4:30 am
Most interesting ...
I guess the most likely indexing regime would be the single index per column (i.e INDEX A, B and C) - and in that mode the IS NOT...
James Horsley
Workflow Consulting Limited
November 16, 2007 at 2:13 am
Will do ... if it is e.g. MyID=IsNull(@MyID,MyID) then I would think it can still use any index on MyID rpovided @MyID was NOT null and the optimiser might be...
James Horsley
Workflow Consulting Limited
November 15, 2007 at 7:45 am
SELECT 1 FROM dbo.tblRoadShowAllocation
WHERE
RoadShowID = @RoadShowID AND
RoadShowEventID = @RoadShowEventID AND
SellerID = @SellerID AND
EmployerID = @EmployerID
)
The problem is that @RoadShowEventID and @SellerID can be null....
James Horsley
Workflow Consulting Limited
November 15, 2007 at 6:00 am
Thanks for answering for me Adam - I have also PM'd the answer - I never really considered it before but I guess it is confusing that CHAR() is both...
James Horsley
Workflow Consulting Limited
November 14, 2007 at 2:51 am
Maybe something like this:
DECLARE @sql nvarchar(4000)
DECLARE @counter int
SET @sql='ALTER VIEW VW_MYVIEW AS ' + CHAR(13) + CHAR(10)
SET @counter = 0
Select top 13 @counter = @counter + 1, @sql = @sql...
James Horsley
Workflow Consulting Limited
November 9, 2007 at 10:04 am
Scott Coleman (10/11/2007)
WinZip Pro costs a whopping $50....... If you want to risk your job over putting shareware on the company servers, that is.
WinZip is really becoming BloatWare now so...
James Horsley
Workflow Consulting Limited
October 29, 2007 at 11:28 am
I do of course agree with you that you can't generalise - but many (most?) businesses do actually generalise by deciding they can't possibly share any changes they have made...
James Horsley
Workflow Consulting Limited
October 23, 2007 at 8:43 am
Steve Jones - Editor (10/23/2007)The problem with giving back to open source, in many cases, is that the competitive advantage you might gain from adding your own cool customization or...
James Horsley
Workflow Consulting Limited
October 23, 2007 at 7:07 am
Kenneth Gladden (8/16/2007)
James Horsley
Workflow Consulting Limited
October 23, 2007 at 5:35 am
Viewing 15 posts - 61 through 75 (of 138 total)