Knowledge Base

Snippets

28
/// <summary>  /// Returns the first day of the next month. /// </summary> /// <example> /// i.e. If start date is 9/27/2...

[Read the rest of this article...]

Posted in: C Sharp - C#
21
Your SQL stored procedure: INSERT INTO Invoices (InvoiceNumber, InvoiceDate, SupplierID, ModuleID, CreatedOnDate, CreatedByUserID, PortalID) VALUES...

[Read the rest of this article...]

10
switch(myNumber)       {          case "1":   // DO SOMETHI...

[Read the rest of this article...]

Posted in: C Sharp - C#
06
public string get_image(string product_ID) {  string functionReturnValue = null;  HttpWebRequest req = default(HttpWebRequest);  re...

[Read the rest of this article...]

HttpWebRequest, Images, GetResponse()
05
ALTER TABLE MyTableName ADD CONSTRAINT DF_MyTableName DEFAULT GETDATE() FOR MyColumnName SQL, Alter Table
Posted in: SQL Scripts
18
select dp2.name as role, dp1.name as owner from sys.database_principals as dp1 inner join sys.database_principals as dp2 on dp1.principal_id = dp2.own...

[Read the rest of this article...]

SQL Roles
Page 19 of 53First   Previous   14  15  16  17  18  [19]  20  21  22  23  Next   Last