Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by Wayne Sheffield
»
Creating templates for use in BIDS (SQL...
19 posts, Page 2 of 2
««
1
2
Creating templates for use in BIDS (SQL Spackle)
Rate Topic
Display Mode
Topic Options
Author
Message
WayneS
WayneS
Posted Thursday, April 21, 2011 7:47 AM
SSCertifiable
Group: General Forum Members
Last Login: Yesterday @ 2:02 PM
Points: 6,367,
Visits: 8,228
LightVader (4/21/2011)
Is there an equally easy way to have the template on the network so all the developers in the company are using the same template (and it would only have to be updated once)?
Very good question... I'll look into it, and see if I can find anything.
Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then
DON'T USE IT
on a production system! After all,
you
will be the one supporting it!
Links:
For better assistance in answering your questions
,
How to ask a question
,
Performance Problems
,
Common date/time routines
,
CROSS-TABS and PIVOT tables Part 1
&
Part 2
,
Using APPLY Part 1
&
Part 2
,
Splitting Delimited Strings
Post #1097001
LightVader
LightVader
Posted Thursday, April 21, 2011 8:06 AM
SSChasing Mays
Group: General Forum Members
Last Login: Thursday, May 16, 2013 1:22 PM
Points: 634,
Visits: 1,491
jcrawf02 (4/21/2011)
LightVader (4/21/2011)
Is there an equally easy way to have the template on the network so all the developers in the company are using the same template (and it would only have to be updated once)?
I used to use a .cmd file to copy templates and SQL Prompt snippets from a shared location to the local folder on login, you could do similar for this. See attached.
Also, Wayne, great article, been thinking about setting up a template for SSIS, so thanks!
If anyone is doing this for SSRS, consider using this in tandem with report styles in the database, a la Barry King (
http://www.simple-talk.com/sql/reporting-services/reporting-services-with-style/
). That way, you can have your template for the layout you want, and use the db to update the actual styles, or apply multiple styles, and change all reports by updating your db values. Very handy.
I really like the Barry King solution, I think I'll propose that one to my boss. I have to look into the other solution a little bit more. I'm sure I can get it to work for us, but we just had a virus issue so a lot of stuff is locked down right now.
The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.
Post #1097022
SQLRNNR
SQLRNNR
Posted Thursday, April 21, 2011 8:17 AM
SSCoach
Group: General Forum Members
Last Login: Yesterday @ 1:07 PM
Points: 18,733,
Visits: 12,332
Great tips Wayne - thanks
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1097030
WayneS
WayneS
Posted Thursday, April 21, 2011 9:30 AM
SSCertifiable
Group: General Forum Members
Last Login: Yesterday @ 2:02 PM
Points: 6,367,
Visits: 8,228
gonsas (4/21/2011)
Samuel Vella (4/21/2011)
Nice article, very concise (as a Spackle should be I guess)
The reason for this is simple, renaming the file in the dialogue box will not change the object name. Waiting until afterwards will give you the option of automatically changing the object name to reflect the file name.
Nice tip!
I'd also add that, after adding the template package, one should use BIDS Helper to
reset GUIDs
I just found this
MS KB article
that states, at the end,
Note
We recommend that you generate a unique ID property value for the package to make analyzing log data easier. To generate a unique ID property value, click the ID in the Properties pane, and then click Generate New ID. If Generate New ID does not appear in the Properties pane, verify that the package properties appear in the Properties pane. If the properties for an item such as a connection manager or task appear in the Properties pane, Generate New ID is unavailable.
Edit: Here's
another MS msdn link
for making a PACKAGE template.
Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then
DON'T USE IT
on a production system! After all,
you
will be the one supporting it!
Links:
For better assistance in answering your questions
,
How to ask a question
,
Performance Problems
,
Common date/time routines
,
CROSS-TABS and PIVOT tables Part 1
&
Part 2
,
Using APPLY Part 1
&
Part 2
,
Splitting Delimited Strings
Post #1097077
gonsas
gonsas
Posted Thursday, April 21, 2011 9:40 AM
Forum Newbie
Group: General Forum Members
Last Login: Tuesday, May 07, 2013 1:03 AM
Points: 8,
Visits: 142
WayneS (4/21/2011)
I just found this
MS KB article
that states, at the end,
Note
We recommend that you generate a unique ID property value for the package to make analyzing log data easier. To generate a unique ID property value, click the ID in the Properties pane, and then click Generate New ID. If Generate New ID does not appear in the Properties pane, verify that the package properties appear in the Properties pane. If the properties for an item such as a connection manager or task appear in the Properties pane, Generate New ID is unavailable.
But BIDS Helper not only resets the package ID, but also all the tasks' and components' IDs as well (which also appear in the logs).
As mentioned in the BIDS Helper wiki page "Reset GUIDs" feature, this prevents some
weird errors
from happening.
Post #1097084
Evil Kraig F
Evil Kraig F
Posted Thursday, April 21, 2011 11:44 AM
SSCertifiable
Group: General Forum Members
Last Login: Saturday, May 18, 2013 10:09 PM
Points: 5,658,
Visits: 6,100
Very nice article Wayne, thank you. Perfect spackle.
- Craig Farrell
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions
|
Forum Netiquette
For index/tuning help, follow these directions.
|
Tally Tables
Twitter: @AnyWayDBA
Post #1097161
Daniel Bowlin
Daniel Bowlin
Posted Friday, April 22, 2011 6:58 AM
SSCrazy
Group: General Forum Members
Last Login: Friday, May 17, 2013 11:53 AM
Points: 2,672,
Visits: 2,416
I have been using report templates for some time. I didn't know it was possible to make a package template for SSIS. Thanks. You also mention it is possible for report models and SSAS projects. Great tips thanks.
Post #1097421
SQLRNNR
SQLRNNR
Posted Friday, April 22, 2011 5:45 PM
SSCoach
Group: General Forum Members
Last Login: Yesterday @ 1:07 PM
Points: 18,733,
Visits: 12,332
Looks like the discussion is taking on some great content as well.
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1097673
Mike McIver
Mike McIver
Posted Saturday, April 23, 2011 5:34 AM
SSC Rookie
Group: General Forum Members
Last Login: Wednesday, April 03, 2013 9:26 AM
Points: 32,
Visits: 145
Good info . . . thanks!
Mike
MacroTrenz.Com
LinkedIn
Post #1097743
« Prev Topic
|
Next Topic »
19 posts, Page 2 of 2
««
1
2
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.