Viewing 15 posts - 8,131 through 8,145 (of 9,643 total)
You do not want to us e@@IDENTITY. It returns that last Identity value which could be another table if you have triggers, etc... You want to use th...
August 4, 2008 at 12:33 pm
IS the new column DEFINED as INT? If so you can't put the value 'NA' in a integer column. In the case you would want to use NULL...
August 4, 2008 at 12:00 pm
As SQLNoob has said there are many other factors in place as well. IN reality the maintenance plan which uses SSIS, is really just running the BACKUP DATABASE command...
August 1, 2008 at 12:44 pm
Yeah, that would make sense as SortKey is mtlseq converted to varchar. You would just want to convert SortKey back to a numeric.
August 1, 2008 at 12:34 pm
Odds are your clustered index is on order_id so no sorting actually has to be done. When you add order_date then the server actually has to apply a sort...
August 1, 2008 at 12:28 pm
Include numeric sort fields in the CTE, you don't have to output them to the report. LIke this:
[font="Courier New"]DECLARE @TOPPART VARCHAR(32)
SET @TOPPART = '11001-01';
WITH BOM(partnum,revisionnum,mtlseq,mtlpartnum,qtyper,bomlevel,sortkey, sortkeynum1, sortkeynum2)
AS
(
SELECT partnum,revisionnum,mtlseq,mtlpartnum,qtyper,1 AS...
August 1, 2008 at 12:25 pm
None that I am aware of although there may be something in the DMV's.
August 1, 2008 at 12:19 pm
I keep thinking I have a solution, but As I test it to make sure it will work in each Company/delivery day situation I find cases where the solution does...
August 1, 2008 at 11:33 am
I don't think you can modify\open SSRS 2005 reports in VS 2003. SQL Server 2005 installs BIDS which is a limited version of VS 2005 if VS 2005 is...
August 1, 2008 at 9:02 am
Okay, I misunderstood your problem as well, I think. The solution I offered assumed that the DeliveryDates were dates the company would deliver on, so if I order on...
August 1, 2008 at 8:53 am
I'm not suer what you really gain by adding SQL Server 2005 instances as Gail has said you really can't let them all dynamically manage memory which means you have...
August 1, 2008 at 8:43 am
Here is a solution that includes a Numbers[/url] table. The caveat is that my solution needs the numbers table to include 0. You can obviously adapt the solution...
August 1, 2008 at 8:39 am
Use the conditional statement in the derived column transfer.
value=="y" ? "true" : "false"
Remember that comparison in SSIS IS case-sensitive.
August 1, 2008 at 7:51 am
It would depend on what you are doing in the cursor as to wether or not you could convert it to a CTE and/or how you would write the CTE,...
August 1, 2008 at 7:46 am
Viewing 15 posts - 8,131 through 8,145 (of 9,643 total)