My Blog

Here you can find my private notes about programming that I wanted to share with you. Feel free to filter based on the topic you want or search for something specific.

    Edit multiple rows in MSSQL after filtering the table

    The past days I had to change multiple rows of an MSSQL table after filtering its content with a WHERE clause.

    For this task you get great support from MSSQL Management Studio by using the criteria view of the tables data.

    Read the complete article

    How to solve the "Property or method XXX is not defined on the instance but referenced during render" in Vue.js

    One common error during my first steps with Vue was the following, that is logged in the console of your browser:

    *vue.js:634 [Vue warn]: Property or method “XXX” is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See:

    (found in Root)*

    Read the complete article

    How to export the schema and the data of an MSSQL-DB into an .sql script

    One way to make a back-up file of your MSSQL Database is by exporting its schema, and optionally its data, into a new .sql script. The script can be automatically generated via the MSSQL Management Studio tool. Here is how:

    Read the complete article

    How to rename a column in an MSSQL temporal table

    Temporal tables is a neat feature that allows us to version the data of our MSSQL-tables so that we keep a history of changes made. The renaming of columns of a table which is backed up by a temporal table is not 100% straightforward since you do not get the “Design” option when you right click on the table in SQL Management Studio. To perform the renaming, do the following steps:

    Read the complete article

    Copy all rows from one table to another new table in MSSQL

    When you want to create a new table in a Database B and fill it with the rows of another table in Database A, then you can use the SELECT … INTO format like in the following query:

    Read the complete article