About 597 results
Open links in new tab
  1. Inserting JSON Text into SQL Server Table - CodeProject

    Mar 25, 2016 · Introduction SQL Server 2016 and Azure SQL Database have a new function OPENJSON that enables you to easily parse JSON text and insert it into any table. See more …

  2. A LINQ Tutorial: Adding/Updating/Deleting Data - CodeProject

    Dec 11, 2009 · Adding New Data You can add new records to the database by creating new objects and adding them to the appropriate Table collection in your DataContext. If your table …

  3. Create Primary Key using Entity Framework Code First

    Sep 5, 2014 · Sometimes, Code First fails to drop the database and generates an exception as follows. It generally happens if some process is using the SQL Server database and during …

  4. POCO Generator - CodeProject

    Mar 31, 2015 · Column Defaults - Adds properties initialization, based on the column default values in SQL Server. Default value that can't be handled properly will be commented. New …

  5. Copy Data from a DataTable to a SQLServer Database using …

    Jan 15, 2007 · At this point, the database server only contains the database as the create method is required to initiate the creation process. Also, the table does not currently contain any …

  6. SQL Server Dapper - CodeProject

    Mar 25, 2015 · You just want to use SQL Server types and that enumeration is SqlDbType. With the help of this MSDN page SQL Server Data Type Mappings, I added internal mapping …

  7. Random Value Per Row in SQL - CodeProject

    Jan 9, 2019 · Occasionally, you need to update a table with a random value per row. And thanks to some optimizations SQL Server does, it’s not exactly straight forward. If you just try to …

  8. Using Custom Attributes to Map Database Tables and

    Feb 16, 2010 · I also store the column name and the field info for later use. This section finishes up by appending the FROM clause to the SQL statement. Note: Using SELECT * forces your …

  9. Computed Column Specification in SQL Server - CodeProject

    Jul 18, 2007 · The user needs to select the column and write in "Computed Column Specification --> Formula". Remember the parameters are the column names, users are not supposed to …

  10. SMO Tutorial 1 of n - Programming data storage objects

    Nov 13, 2010 · SMO can't be used for SQL Servers with compatibility level 60 or 65. Connecting to SQL Server When you want to connect to SQL Server 2005 (or later version), you can user …