How can we help you today? How can we help you today?
david connell
Hi there, Just incase your are interested we have a free tool to compare DTS Packages. It is available at red gate labs, please check out http://labs.red-gate.com/index.php/Main_Page for more information. Regards David / comments
Hi there, Just incase your are interested we have a free tool to compare DTS Packages. It is available at red gate labs, please check out http://labs.red-gate.com/index.php/Main_Page for more infor...
0 votes
Hi Matt, Thanks for pointing out this difference... I think that there is an issue in what a comment means... The block comment does not include the "new line" because it's not included in the comment. However the line comment has decided to include the "new line" return because it's part of the line. Or as you have said, is it? I will have to go and ask someother people. OK I have just asked one of the SQL Refactor team, and they told me that "new lines" should be considered part of the line comment. This is what SQL Server does. However he also said that only "new lines" are really new lines in SQL Server and "cariage returns" should be ignored because that's what SQL Server could do under certain collations. He did say that it was a little unclear exactly what some of these cases meant. I have now spoken with Robert one of the developers on SQL Doc. He did not agree with the adding of the white-space: pre; tag in your CSS . (His argument was that the viewer should automatically cater for word wrap etc and not interpret the data directly.) However then it leaves the issue of spaces. So he felt that SQL Doc should have escaped the spaces correctly in the comments. Which it does not do. Personally I would use the descriptions to put these type of comments in. Because you can then comment anything from Functions, to Tables to .... However "new lines" are not correctly formatted in SQL Doc 1.1. So in summary I will put forward that spaces and tabs in comments are escaped. Regards David / comments
Hi Matt, Thanks for pointing out this difference... I think that there is an issue in what a comment means... The block comment does not include the "new line" because it's not included in the comm...
0 votes
Hi there Kingram, The descriptions used by SQL Doc are stored as extended properties, which in turn are stored in the database itself. As a result they will be backed up & restored within your database. So the next question is, How to get all the extended Propeties out of the database? I would use SQL Compare to compare my database against a blank database. And export the data as XML... I would then use XSLT or a program to scan the XML and strip out the sp_addextendedproperty. The XML looks like - <line type="different"> <left>ALTER TABLE [Person].[Address] ADD CONSTRAINT [FK_Address_StateProvince_StateProvinceID] FOREIGN KEY ([StateProvinceID]) REFERENCES [Person].[StateProvince] ([StateProvinceID])</left> <right /> </line> - <line type="different"> <left>GO</left> <right /> </line> - <line type="same"> <left>-- Extended Properties</left> <right /> </line> - <line type="same"> <left /> <right /> </line> - <line type="different"> <left>sp_addextendedproperty N'MS_Description', N'Street address information for customers, employees, and vendors.', 'SCHEMA', N'Person', 'TABLE', N'Address', NULL, NULL</left> <right /> </line> The above example was taken from AdventureWorks. Once I had this working well I would setup up some command line utlitilies to automate this task as part of my general build mechanisms... Hope this helps David Connell / comments
Hi there Kingram, The descriptions used by SQL Doc are stored as extended properties, which in turn are stored in the database itself. As a result they will be backed up & restored within your data...
0 votes
Hi Tim, I have found in the past that XML & XSLT can run into performance issues with large XML files. This was one of the reasons why raw XML files were not initially choosen... I am glad that you like the information that we produce. Regards David / comments
Hi Tim, I have found in the past that XML & XSLT can run into performance issues with large XML files. This was one of the reasons why raw XML files were not initially choosen... I am glad that you...
0 votes