What do you want to save?
Add Code snippet
New code examples
-
SQL 2022-01-26 04:01:04
trigger on update of a particular column
-- SQL Server (update my_table after update on my_table) CREATE TRIGGER trigger_name ON my_table AFTER UPDATE AS IF UPDATE (col_name) -- Optional, for particular column BEGIN UPDATE my_table SET my_col_date = getdate() FROM my_table END; -- Oracle (i... Add solution -
Shell/Bash 2022-01-26 01:46:09
Export all groups and members from Active Directory using VBScript
' ExportADGroupMembers.vbs ' Sample VBScript to Export Active Directory Group Members into CSV file. ' CMD Usage: CScript <vbscript filepath> <groupName> <csvFilePath> ' Ex: CScript ExportADGroupMembers.vbs "Domain Admins" &quo... Add solution -
Python 2022-01-24 01:55:39
xaxis matplotlib
import matplotlib.pyplot as plt x = [0.00001,0.001,0.01,0.1,0.5,1,5] # create an index for each tick position xi = list(range(len(x))) y = [0.945,0.885,0.893,0.9,0.996,1.25,1.19] plt.ylim(0.8,1.4) # plot the index for the x-values plt.plot(xi, y, marker='... Add solution -
VBA 2022-01-23 13:06:40
vba collection key list
' Use a Dictionary instead of a Collection Dim dict As Dictionary Set dict = New Dictionary dict.Add "key1", "value1" dict.Add "key2", "value2" Dim key As Variant For Each key In dict.Keys Debug.Print "Ke... Add solution -
Python 2022-01-23 08:50:47
python 3 tkinter treeview example
# How to create a basic Treeview tv = Treeview(self) # could also include columns with tv['columns'] = 'Column2' # Treeview(master, column=('yourcolumnname')) tv.heading('#0', text='Heading1') # '#0' standard name for the first column tv.heading('Colu... Add solution -
Other 2022-01-23 06:20:30
entity fast insert recordset
// at some point in my calling code, I will call: var myDataTable = CreateMyDataTable(); myDataTable.Rows.Add(Guid.NewGuid,tableHeaderId,theName,theValue); // e.g. - need this call for each row to insert var efConnectionString = ConfigurationManager.Conn... Add solution