Viewing 15 posts - 4,711 through 4,725 (of 13,465 total)
Lynn Pettis (9/19/2012)
And I thought there was no spoon. 😉
@67 posts, i didn't think this was homework for the OP, and i got all excited about making a recursive...
September 19, 2012 at 3:09 pm
assuming alphabetical order of the status can be used, this works:
With MyCTE (Product,Parts,Status)
AS
(
SELECT 'Laptop1','mouse','OK' UNION ALL
SELECT 'Laptop1','screen','OK' UNION ALL
SELECT 'Laptop1','button','OK' UNION ALL
SELECT 'Laptop2','mouse','OK' UNION ALL
SELECT...
September 19, 2012 at 3:07 pm
cidr (9/19/2012)
The only issue with this technique is that there are literally 10s of thousands of parts so I'm not sure if this technique would work; I...
September 19, 2012 at 2:56 pm
ok, i think this recursive CTE generates allt eh sub parts you are looking for:
DECLARE @Table Table(
Parent varchar(2),
Child varchar(2) )
INSERT @Table
SELECT 'A1','B1' UNION...
September 19, 2012 at 2:41 pm
You could test agaisnt an express instance until your license comes in...just change your connection string;
there's pretty much only 3 or 4 things in the string anyway; server, database, trusted...
September 19, 2012 at 2:13 pm
ferozsql (9/19/2012)
users are complaining that database are responding very slow?
create a new post for this question...the original post is from 2009, and very very few peopel will follow it.
also include...
September 19, 2012 at 1:53 pm
just to confirm, it shows correctly in SQL2012.

September 19, 2012 at 1:36 pm
it looks like sp_help does nto correctly identify the delete actions.
if i run this i see the action correctly:
select * from sys.foreign_keys
there's a connect item complaining about it here:
September 19, 2012 at 1:35 pm
there's two ways to do it;
one witht he proprietary SQL syntax, and another with a correlated query:
--SQL Server UPDATE FROM syntax
UPDATE [Projects]
SET Projects.Closed = Projects3.Closed
FROM [Projects3]
WHERE Projects3.Name = Projects.Name
--correlated...
September 19, 2012 at 12:46 pm
I think compression may be an enterprise only/Developer version only feature.
If you don't have neterprise edition, you won't be able to use it, i think.
there's a really good MS article...
September 19, 2012 at 11:33 am
Sean Lange (9/19/2012)
1.How many columns a SQL table can hold.
I did know this one, 1024 or 30,000, depending on whether we are talking...
September 19, 2012 at 9:50 am
suresh0534 (9/19/2012)
09-19-2012 07:51:31:817] ExceptionSystem.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
Suresh
for me, this says...
September 19, 2012 at 9:33 am
well i converted/scripted everything to consumable format, but i have no idea what you tried to insert into the table.
a simple INSERT INTO ProjectHours VALUES (10,0,0) works woithout...
September 19, 2012 at 7:31 am
Lynn Pettis (9/18/2012)
SQLRNNR (9/18/2012)
Lynn Pettis (9/18/2012)
I'm not in...
September 18, 2012 at 12:59 pm
adding another option to the mix:
i threw a CLR export example out on codeplex;
if you have the ability to add CLR into the mix,then you could use one of the...
September 18, 2012 at 12:57 pm
Viewing 15 posts - 4,711 through 4,725 (of 13,465 total)