Viewing 15 posts - 691 through 705 (of 1,124 total)
m.s.owen (1/13/2009)
January 13, 2009 at 7:27 am
Actually you don't need a cross tab/pivot....
IF OBJECT_ID('TempDB..#tblInv','U') IS NOT NULL
DROP TABLE #tblInv
CREATE TABLE #tblInv
(
ID INT ,
PartNo VARCHAR(10) NOT NULL,
TranType VARCHAR(7) NOT NULL,
Quantity INT NOT NULL
)
insert into #tblInv(id,partno, TranType,quantity)
select 1,...
January 13, 2009 at 6:47 am
amit (1/13/2009)
Hi Ramesh,Thanks for the reply.
Does this apply for MS 2000.
Thanks
A.
Aaaah!! I forgot that I am in 2000 forum..;)
As per Books Online...
SQL enforces uniqueness of the column, which is designated...
January 13, 2009 at 6:33 am
Here it is....
SELECT * FROM sys.indexes WHERE is_primary_key = 1 OR is_unique_constraint = 1
January 13, 2009 at 4:57 am
jordonpilling (1/13/2009)
Following now works perfect:
SELECT BRANCH_NO,
BRANCH_STARTRANGE,
...
January 13, 2009 at 4:47 am
The best way to handle this is to create a maintainance plan with reindex/reorganize index task in it.
Look in Books Online for Maintainance Plans...
January 13, 2009 at 3:46 am
January 13, 2009 at 12:21 am
MrBaseball34 (1/12/2009)
SELECT e.EncounterID, SUM(ed.Balance) as TotalAmt
FROM ptEncounterDetails ed
INNER JOIN ptEncounterEncounterDetail eed
ON eed.EncounterDetailID = ed.EncounterDetailID
INNER JOIN ptEncounter e
On e.EncounterID = eed.EncounterID
WHERE TotalAmt >= 5.00 AND
...
January 12, 2009 at 8:01 am
Have you checked the execution plans? Can you attach those with the post?
January 12, 2009 at 7:35 am
Have a look at the following article http://blogs.conchango.com/jamiethomson/archive/2006/07/14/SSIS-Nugget_3A00_-Extracting-data-from-unstructured-files.aspx
January 12, 2009 at 7:31 am
karthikeyan (1/12/2009)
Some more points...I have tested the indexes and statistics...there is no difference between both servers and number of rows are almost same between the two server.
I meant last index/statistics...
January 12, 2009 at 7:16 am
The guy, who is sitting 3000 miles away:D, has to add "you" in the default role "role" (i.e. Servers > Databases > SomeDatabase > Roles > Role) or create some...
January 12, 2009 at 5:54 am
There are some situations, for example, after an index is dropped, when the space information for the table may not be current. So, in order to have accurate results...
January 12, 2009 at 5:47 am
mikael (1/12/2009)
But with the above ... would that not create some extra steps ... as I see it ......
January 12, 2009 at 5:43 am
Viewing 15 posts - 691 through 705 (of 1,124 total)