[{"data":1,"prerenderedAt":262},["ShallowReactive",2],{"article-sql-templates-in-sql-server-management-studio":3},{"article":4,"tags":74,"previous":89,"next":232},{"id":5,"title":6,"author":7,"body":8,"createdAt":63,"description":64,"extension":65,"img":64,"meta":66,"navigation":67,"path":68,"seo":69,"stem":70,"tags":71,"updatedAt":63,"__hash__":73},"articles\u002Farticles\u002Fsql-templates-in-sql-server-management-studio.md","SQL Templates (in SQL Server Management Studio)","[object Object]",{"type":9,"value":10,"toc":59},"minimark",[11,33,47],[12,13,14,15,21,22,26,27,30],"p",{},"Credit goes to the ",[16,17,20],"a",{"target":18,"href":19},"_blank","http:\u002F\u002Fcincysql.org\u002Fdefault.aspx","Cincinnati SQL Server User’s Group","\u002F",[16,23,25],{"target":18,"href":24},"http:\u002F\u002Fjapikse.blogspot.com","Phil Japikse"," for the following tip.  Two things of interest in this post.  Ability to create Sql Templates within SQL Server Management Studio and SQL to find objects named like ‘%here%’ across all objects in a database.",[28,29],"br",{},[31,32],"em",{},[31,34,35,38,41,44],{},[12,36,37],{},"USE \u003Cdatabasename,string,@p1>",[12,39,40],{},"GO",[12,42,43],{},"SELECT OBJECT_NAME(OBJECT_ID)",[12,45,46],{},"FROM sys.sql_modules",[12,48,49,52,53,55,56,58],{},[31,50,51],{},"WHERE definition like '%\u003Cstring_to_find,string,@p2>%'"," ",[28,54],{},"\nNow that you have the SQL it is possible to create a SQL Template (View – SQL Templates) whereby you can simply select and push Ctrl-Shift-M for variable substitution.  Within the Template Window create a new folder to store your custom templates, create a new template, paste the above SQL and Save.  To use simply click on the template and Ctrl-Shift-M to be prompted for the variables and values.",[28,57],{},"\nGreat stuff.  Thanks guys for the tip.",{"title":60,"searchDepth":61,"depth":61,"links":62},"",2,[],"2015-04-20T08:07:20.1800000-04:00",null,"md",{},true,"\u002Farticles\u002Fsql-templates-in-sql-server-management-studio",{"title":6,"description":64},"articles\u002Fsql-templates-in-sql-server-management-studio",[72],"sqlserver","xLkaxTvrpsg5-vSPzWpJsrPkpM6cQ_XYQ7P2nrTpJS8",[75],{"id":76,"title":77,"body":78,"description":82,"extension":65,"img":83,"meta":84,"name":72,"navigation":67,"path":85,"seo":86,"stem":87,"__hash__":88},"tags\u002Ftags\u002Fsqlserver.md","Sqlserver",{"type":9,"value":79,"toc":80},[],{"title":60,"searchDepth":61,"depth":61,"links":81},[],"SQL Server is a relational database management system, or RDBMS, developed and marketed by Microsoft.","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1598313183973-4effcded8d5e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80",{},"\u002Ftags\u002Fsqlserver",{"description":82},"tags\u002Fsqlserver","pSzcNnE-XyUgq8RlgK2xBpbJV7_7o5NLS2XlwBxFyAg",{"id":90,"title":91,"author":7,"body":92,"createdAt":222,"description":64,"extension":65,"img":223,"meta":224,"navigation":67,"path":225,"seo":226,"stem":227,"tags":228,"updatedAt":222,"__hash__":231},"articles\u002Farticles\u002Fnet-releases-versions-in-2015.md",".NET Releases & Versions in 2015",{"type":9,"value":93,"toc":220},[94,118,156,171,174,182,193,198,206],[12,95,96,97,99,100,104,105,108,109,112,114,117],{},"In 2015 we will have new releases of .NET Framework, ASP.NET versions, Web Forms, MVC versions.  That is quite a bit to keep track of.  This should make it a little easier.  I am surprised that Microsoft has not made it more clear as to what is included in which version.  They recently starting calling this bundle .NET 2015 and as a bundle includes a number of sub-products.",[28,98],{},"\nSo starting with the ",[101,102,103],"strong",{},".NET 2015 ","Bundle….it includes ",[101,106,107],{},".NET 4.6"," AND ",[101,110,111],{},".NET Core",[28,113],{},[101,115,116],{},".NET 4.6 and .NET Core ","includes..(.NET 4.6 is included with Visual Studio 2015)",[119,120,121,129,132,138,141,144,147,150,153],"ul",{},[122,123,124,128],"li",{},[16,125,127],{"href":126},"http:\u002F\u002Fblogs.msdn.com\u002Fb\u002Fwebdev\u002Farchive\u002F2015\u002F02\u002F09\u002Fasp-net-mvc-5-2-3-web-pages-3-2-3-and-web-api-5-2-3-release.aspx","ASP.NET 4.6","  is an umbrella term used to describe updates to existing frameworks such as ASP.NET Web Forms\u002FMVC 5\u002FWeb Api 2.",[122,130,131],{},"ASP.NET Web Forms 46",[122,133,134,135],{},"ASP.NET MVC 5.2.3 – updates to MVC 5 found ",[16,136,137],{"href":126},"here",[122,139,140],{},"ASP.NET Web Pages 3.2.3",[122,142,143],{},"ASP.NET Web API 5.2.3",[122,145,146],{},"ASP.NET SignalR 2.1.2",[122,148,149],{},"ASP.NET 5.0 Beta 5 (vNext)  – a .NET platform for build cloud-based apps and can be hosted on IIS or self-hosted in a custom process.  It supports running on both the .NET Framework and .NET Core so by extension supports running on Windows, Linux, OS X etc.",[122,151,152],{},"MVC 6.0 - MVC, Web API, and Web Pages are unified into a single framework – this is a complete rewrite of MVC engine we use today, while we still have controllers, views and models under the hood MVC 6 is an improved and rewritten engine.  Web API is now fully integrated with MVC 6",[122,154,155],{},"C# 6, F# 4, VB 14",[12,157,158,159,163,165,168,170],{},"Note: .NET 4.6 is an in-place update to versions .NET 4, 4.5, 4.5.1, 4.5.2 > this means that after installation c:\\windows\\Microsoft.NET\\Framework(bitness)\\v4.0.30319 will be updated with the latest dlls, this is similar to how .NET 3.5 was an in-place update to .NET 2.0.  See also ",[16,160,162],{"href":161},"https:\u002F\u002Fmsdn.microsoft.com\u002Fen-us\u002Flibrary\u002Fbb822049(v=vs.110).aspx",".NET Framework Versions and Dependencies",[28,164],{},[101,166,167],{},"\nToday (August 2015) ",[28,169],{},"\nSO if you are building an application today you can open Visual Studio 2015 and create new project(s) – web project – selecting .NET 4.6 and ASP.NET 4.6 templates (empty, web forms, mvc, etc.).  However, if you wanting to try out new ASP.NET 5 preview templates those are available too (i.e. choose .NET 4.6 and ASP.NET 5 (Preview) templates such as empty, web api and web application)",[12,172,173],{},"Also if you have not installed .NET 4.6 on the server you would choose to create a new project you could select .NET 4.5.2 and respective ASP.NET 4.5.2 web templates (empty, web forms, mvc, etc.)",[12,175,176,177,179],{},"Note here that Microsoft released Visual Studio 2015 with updates to existing frameworks as well as preview releases of ASP.NET and Entity Framework 7.  So confusing.",[28,178],{},[101,180,181],{},"\nVisual Studio 2015 – Updates",[119,183,184,187,190],{},[122,185,186],{},"JSON Editor",[122,188,189],{},"HTML Editor Updates",[122,191,192],{},"JavaScript Editor Improvements",[12,194,195],{},[101,196,197],{},"Resources",[119,199,200],{},[122,201,202],{},[16,203,205],{"href":204},"http:\u002F\u002Fblogs.msdn.com\u002Fb\u002Fdotnet\u002Fp\u002Fdotnet_sdks.aspx?source=VS2013",".NET SDKs and Downloads",[12,207,208],{},[16,209,211],{"href":210},"\u002Farticles\u002Fimages\u002Fwindows-live-writer-f6d15fa95net-releases-versions-in-2015_11a94-version_4.png",[212,213],"img",{"style":214,"src":215,"border":216,"alt":217,"title":217,"width":218,"height":219},"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;","\u002Farticles\u002Fimageswindows-live-writer-f6d15fa95net-releases-versions-in-2015_11a94-version_thumb_1.png",0,"version",240,143,{"title":60,"searchDepth":61,"depth":61,"links":221},[],"2015-06-16T16:09:46.7300000-04:00","\u002Farticles\u002Fimages\u002Fwindows-live-writer-f6d15fa95net-releases-versions-in-2015_11a94-version_thumb_1.png",{},"\u002Farticles\u002Fnet-releases-versions-in-2015",{"title":91,"description":64},"articles\u002Fnet-releases-versions-in-2015",[229,230],"aspnet","netcore","RihqeLfTiAz21FdMOWIpdgYXNEmdlz_YWHgD_XX1Zf0",{"id":233,"title":234,"author":7,"body":235,"createdAt":253,"description":254,"extension":65,"img":249,"meta":255,"navigation":67,"path":256,"seo":257,"stem":258,"tags":259,"updatedAt":253,"__hash__":261},"articles\u002Farticles\u002Flinq-samples-provided-by-msdn-microsoft.md","Linq Samples Provided by MSDN Microsoft",{"type":9,"value":236,"toc":251},[237,240],[12,238,239],{},"In fact Microsoft has provided 101 of them.  How much do you wanna bet they are missing the one you are looking for?  (always 1 short).",[12,241,242,243,247],{},"  Check it out here on ",[16,244,246],{"target":18,"href":245},"http:\u002F\u002Fmsdn.microsoft.com\u002Fen-us\u002Fvcsharp\u002Faa336746.aspx","MSDN",[212,248],{"src":249,"alt":60,"style":250},"\u002Farticles\u002Fimages\u002Flinq.jpg","display:none;",{"title":60,"searchDepth":61,"depth":61,"links":252},[],"2015-04-20T08:07:20.0600000-04:00","101 Linq samples",{},"\u002Farticles\u002Flinq-samples-provided-by-msdn-microsoft",{"title":234,"description":254},"articles\u002Flinq-samples-provided-by-msdn-microsoft",[260],"linq","sxrSHppiVktSvHxvkWPtSSC_uGcviIO8d0WvutVopls",1781574768156]