Viewing 14 posts - 1 through 14 (of 14 total)
Thank you Jeff for your example.
The original table is very simple, only two columns (childid, parentid) and with PK on the child id column.
Since this table only has...
April 16, 2012 at 12:56 am
Hi Mark and thank you for your answer and explanation.
Yes, I understand that having out-nodes would be preferable but unfortunately this is not possible in the table.
The solution with keeping...
April 15, 2012 at 9:13 am
Jeff Moden (4/14/2012)
So where did you go??? I checked your profile for additional posts and didn't find one.
Hi Jeff.
A new topic is now started with the name "finding...
April 15, 2012 at 12:13 am
capn.hector (4/13/2012)
F.L (4/12/2012)
Hijacking this thread since OP seems to be satisfied with the solution provided. (I hope that is OK)
I´m trying to use CTE to find the very top parent...
April 13, 2012 at 9:38 am
Hello,
Hijacking this thread since OP seems to be satisfied with the solution provided. (I hope that is OK)
I´m trying to use CTE to find the very top parent within a...
April 12, 2012 at 11:52 pm
Since I must be missing something crucial, could someone please explain why you can’t achieve the same thing with a SCD component? Isn’t this a type 1 SCD (Update/Insert)?
I know...
January 23, 2012 at 6:07 am
Very nice script indeed.
Just a question, isn’t there some misinformation in this part?
BEGIN
--IF PAGE LEVEL LOCKING IS DISABLED THEN REBUILD
BEGIN TRY
EXEC ('USE ['+@DB_NAME+'];ALTER INDEX ['+@IND_NAME+'] ON ['+@SCHEMA_NAME+'].['+@TAB_NAME +'] REORGANIZE ')
END...
December 8, 2009 at 7:10 am
Anyone has some more suggestions on how to do this?
Is there anything built in for MS SQL 2008?
Also, The visio url seems not to work anymore. Anyone knows the name...
September 22, 2009 at 6:14 am
Thanks,
However, can this wrapper really work?
As Dave Wille says sysjobactivity contains many records for each job and for me most jobs contain values in Start_execution_date and Stop_execution_date even if they...
September 16, 2009 at 7:19 am
Hi, I would like to try this out but I can't find the "pr_RunAgentJob".
Is this similar to the sp_start_job in MS SQL 2005?
Also I found that code was missing in...
September 16, 2009 at 6:31 am
Hi
Thanks for your answer.
I must say that "SQL Server 2008 Management and Administration" seems like a perfect choice, specially by reading the reviews!
The “Accelerated SQL Server 2008” seems to contain...
July 17, 2009 at 7:51 am
Thank you all for your suggestions and tips!
ggraber: Yes you are right, don't know why I used the select * :hehe:
I think I will go for the PIVOT suggested by...
June 18, 2008 at 3:27 pm
Yes of course 🙂
Sorry about that
Here is a small example:
CREATE TABLE #Users([UserAlias] [nchar](10) COLLATE Latin1_General_CI_AI NOT NULL,
[FName] [nchar](20) COLLATE Latin1_General_CI_AI NULL,
[LName] [nchar](20) COLLATE Latin1_General_CI_AI NULL,
[Organization] [nchar](20) COLLATE Latin1_General_CI_AI NULL)
INSERT INTO...
June 18, 2008 at 9:44 am
Viewing 14 posts - 1 through 14 (of 14 total)