Viewing 15 posts - 706 through 720 (of 2,647 total)
How many processors/cores? what is your istance's maxdop setting? What is the instance max memory setting?
June 13, 2012 at 8:10 am
Daxesh Patel (6/13/2012)
anthony.green (6/13/2012)
Daxesh Patel (6/13/2012)
I would create New table ahead of...
June 13, 2012 at 8:04 am
I'm pretty sure that you can (although I may be wrong). What I do know is that you cannot partition a table on the second column of a clustered...
June 13, 2012 at 7:27 am
Evil Kraig F (6/12/2012)
SueTons (6/12/2012)
June 13, 2012 at 4:30 am
jamie_collins (6/12/2012)
The actual table is 800 million + rows...
The example is just a made up table for simplicity...
I am curious as to how to get...
June 12, 2012 at 1:37 pm
jamie_collins (6/12/2012)
CREATE TABLE Orders
(OrderID INT IDENTITY(1,1) NOT NULL,
OrderDate DATETIME NOT NULL,
OrderFreight MONEY NULL,
ProductID INT NULL,
CONSTRAINT PK_Orders PRIMARY KEY CLUSTERED
(OrderID ASC, OrderDate ASC)
)
...
June 12, 2012 at 1:23 pm
Express12 (6/12/2012)
id int
project_id int
primary bit
with several entries per project --
is there any way to set up a constraint that (project_id, primary) can only happen once when...
June 12, 2012 at 1:21 pm
Marius.D (6/12/2012)
June 12, 2012 at 12:25 pm
Why is your server MAXDOP set to 2? Why is your threshold set to 25? I'm not saying that they shouldn't be... I'm asking if you know why they are...
June 12, 2012 at 11:33 am
RPC Serves no purpose...
http://msgroups.net/microsoft.public.sqlserver.server/rpc-vs-rpc-out-for-linked-s/98628
June 12, 2012 at 11:09 am
anon1m0us1 (6/12/2012)
I stopped service, changed the ID to local, restarted service. Stopped the service and changed back to the service ID.
How are you changing the login for the service? I...
June 12, 2012 at 10:58 am
Eugene Elutin (6/12/2012)
I guess, it's a kind of achievement to confuse KnowItAll one 🙂
I wish that was true... I'm always confused, though less so since I have been on the...
June 12, 2012 at 9:57 am
SteveEClarke (6/12/2012)
Jared,That is exactly what I am saying .....
Regards
Steve
Try this and also look up PIVOT and UNPIVOT T-SQL
SELECT department, name
INTO #temp
FROM
(SELECT department, name1, name2, name3, name4,...
June 12, 2012 at 9:50 am
Maybe this is what you are saying?
CREATE TABLE departments (Department char(20),
Name1 char(20),
Name2 char(20),
Name3 char(20),
Name4 char(20),
Name5 char(20),
Name6 char(20))
CREATE TABLE unpivot (Department char(20),
Name char(20))
INSERT INTO departments
SELECT 'Chemistry', 'Suzanne','Joe','Gertrude','Brett','Katie','Rebecca'
AND you want results to...
June 12, 2012 at 9:39 am
Viewing 15 posts - 706 through 720 (of 2,647 total)