Viewing 15 posts - 4,291 through 4,305 (of 5,103 total)
create a view
MyView
Select OrderNumber, Orderline, Company, SizeScale, n ,
Case when n = 1 then OrderedUnit1
when n = 2 then OrderedUnit2
else OrderedUnit3 end As OrderedUnits
From
tmpOrderDetailSize S
cross join...
January 12, 2005 at 2:18 pm
insert into OrderDetail ( OrderNumber, Orderline, Company, SizeScale, BucketNumber, OrderedUnit)
Select OrderNumber, Orderline, Company, SizeScale, n,
Case when n = 1 then OrderedUnit1
when n = 2 then OrderedUnit2
else OrderedUnit3...
January 12, 2005 at 12:23 pm
Query Analyzer <> MS Access
Sorry
January 12, 2005 at 12:01 pm
>>>Our chief Network Admin belives a NAS connected directly to our sql cluster boxes would be as fast as a local drive ( as good or better than to a...
January 11, 2005 at 3:38 pm
SELECT [Customer Change No], [PIA Material No],
CASE WHEN [Adj Due Date] IS NULL THEN [Due date] ELSE [Adj Due Date] END AS Expr1
FROM dbo.[tblPPAP Notification Detail]
hth
January 11, 2005 at 3:19 pm
Yukon has besides SQLMail, SQLiMail ( smtp client) so you may be able to get your stuff out of OUTLOOK but again still in beta and you never know how...
January 11, 2005 at 3:14 pm
Gregory,
It has been my experience that since Outlook 2002 on SQL mail is in BAD SHAPE. The only fair solutions so far has been either xp_smtp or CDO with 2003...
January 11, 2005 at 1:28 pm
Steve,
I just posted a sample in which you get the dates and how many were consecutives. This is not a final query becuse the actual output was really not specified....
January 11, 2005 at 11:37 am
Assuming that you have a temp table with consecutive ids this may get you started :
Create table dtes( dte datetime , did int)
insert into dtes(dte, did) values('3/1/2005', 1)
insert into dtes(dte,...
January 11, 2005 at 10:26 am
Paula,
AFAIR the status column in sysindexes holds the information of IGNORE_DUP_KEY. at least it used to be like that in the early sybase days:
status & 1 = 1 ----> index...
January 10, 2005 at 3:46 pm
If transactional Replication is not possible and log shipping is too slow you will have to either
1.try a third party solution like NSI Double-Take (the Software way)
or
2. use...
January 10, 2005 at 3:21 pm
Are you Flushing the CACHE between the two batches?
menaning
dbcc dropcleanbuffers
dbcc freeproccache
January 10, 2005 at 2:59 pm
How are you testing this ?
Can you Comment out the Last part ... SET XACT_ABORT ON till the end ?
January 10, 2005 at 2:45 pm
SELECT COUNT(*) FROM HCD
WHERE HolidayDate BETWEEN @StartDate AND @EndDate
I has been my experience that a "Calendar table" is BY FAR the most flexible solution with the minimum MAINTENANCE! The Calculation of holidays...
January 10, 2005 at 11:30 am
If as you mention these are considered a unit of work the single sp approach is correct in my opinion because
- Single Round Trip
- Logical Grouping (From The App Point of...
January 7, 2005 at 11:52 am
Viewing 15 posts - 4,291 through 4,305 (of 5,103 total)