(SQL) SQL (2014)

New SQL Server project templates for VS2015 (VBSqlAggregate.vb)

   1:  Imports System
   2:  Imports System.Data
   3:  Imports System.Data.SqlClient
   4:  Imports System.Data.SqlTypes
   5:  Imports Microsoft.SqlServer.Server
   6:   
   7:   
   8:  <Serializable()> _
   9:  <Microsoft.SqlServer.Server.SqlUserDefinedAggregate(Format.Native)> _
  10:  Public Structure $safeitemname$
  11:   
  12:      Public Sub Init()
  13:          ' $PutYourCodeHereComment$
  14:      End Sub
  15:   
  16:      Public Sub Accumulate(ByVal value As SqlString)
  17:          ' $PutYourCodeHereComment$
  18:      End Sub
  19:   
  20:      Public Sub Merge(ByVal value as $safeitemname$)
  21:          ' Put your code here
  22:      End Sub
  23:   
  24:      Public Function Terminate() As SqlString
  25:          ' $PutYourCodeHereComment$
  26:          Return New SqlString("")
  27:      End Function
  28:   
  29:      ' $PlaceholderFieldComment$
  30:      Private var1 As Integer
  31:   
  32:  End Structure




Comments ( )
<00>  <01>  <02>  <03>  <04>  <05>  <06>  <07>  <08>  <09>  <10>  <11>  <12>  <13>  <14>  <15>  <16>  <17>  <18>  <19>  <20>  <21>  <22>  <23
Link to this page: //www.vb-net.com/VS2015-SQL-Server-Project-Templates/VBSqlAggregate-vb.htm
<SITEMAP>  <MVC>  <ASP>  <NET>  <DATA>  <KIOSK>  <FLEX>  <SQL>  <NOTES>  <LINUX>  <MONO>  <FREEWARE>  <DOCS>  <ENG>  <CHAT ME>  <ABOUT ME>  < THANKS ME>