Viewing 15 posts - 61 through 75 (of 96 total)
I thought I tried right clicking and it did not work. But after your post I tried again and it works fine.
I did create a NonClustered index. Now the...
October 30, 2011 at 12:33 pm
I did as you suggested.
The results appeared on the Execution plan tab. But they exented beyond the visible window and there were not any scroll bars. Nor could I...
October 30, 2011 at 11:10 am
Got it. I replaced the IDNo in the sortkey with ChildCategory and Category. If they were not encased in IsNull then the sort key would return NULL.
With CatList (Child, Parent,IDNo,...
August 15, 2011 at 6:37 pm
The topic that just won't die.
The latest request is to have the nodes of the various tress in alphabetical order.
So I think I have to modify the SoryKey to include...
August 15, 2011 at 5:13 pm
Ibe be .....d. It works. I am going to spend time tonight trying to understand the changes. I have no idea what Stuff does. But that is where I am...
August 12, 2011 at 5:36 pm
Jason,
No thank you. Indentation is not necessary.
I copied your query just now into SSMS. The results are shown in the jpg. Do you get something different?
August 12, 2011 at 4:46 pm
Wow. that was quick.
The order was in my original post.
Here it is. For some reason the indents are not show. I do not need it returned with indents. But it...
August 12, 2011 at 4:21 pm
Thanks. It was backwards. I get all the records now.
However they are not sorted in a recursive manner. The data I posted yields misleading results as it was all...
August 12, 2011 at 4:16 pm
Thank you. I thought it would be something along those lines. I am using the NChar for the replace because once I tried Replace(Teststring,Char(8218),',') and that set all the field...
June 25, 2011 at 2:03 pm
One thing leads to another. Your code worked. Now I have additional questions. When I restore GMF to A as I did origianlly using SSMS, shouldn't I be changing the...
June 6, 2011 at 6:18 am
The Results are in the attached jpg.
What I find interesting is that the FileListOnly has a Logical name for the A log file as GMF_Log but the Physical name...
June 6, 2011 at 5:31 am
mathusa,
Ok. I added that.
restore filelistonly from disk='D:\SQLData\A.bak'
RESTORE DATABASE B
FROM DISK = 'D:\SQLData\A.bak'
WITH REPLACE, MOVE 'A' TO 'D:\SQLData\B.mdf', MOVE 'A_Log' TO 'D:\SQLData\B_Log.ldf'
ALTER DATABASE B
MODIFY FILE (NAME = 'A', NEWNAME...
June 6, 2011 at 5:16 am
Martusha and Muthukkumaran Kaliyamoorthy,
Thank you both. I am still doing something wrong.
The table names are:
A.bak
A.mdf
A_Log.ldf
B.Mdf
B_Log.ldf
These 5 files are located in the D:\SQLData\ folder.
Here is my current script:
RESTORE DATABASE B
FROM DISK...
June 6, 2011 at 4:59 am
Grasshopper,
I hit a snag. When executing your code, I receive:
The backup set holds a backup of a database other than the existing 'B' database.
I think this will be cured if...
June 5, 2011 at 8:06 am
Guys,
Thanks for the info. I do appreciate the help since I know so little.
pat
May 24, 2011 at 9:13 am
Viewing 15 posts - 61 through 75 (of 96 total)