SQL SERVER – Creating a Copy of Database in Azure SQL DB – SQL Authority with Pinal Dave

CREATE DATABASE [new_sqlauth] AS COPY OF [sqlauth-demo].[sqlauth-DemoDB] GO

Source: SQL SERVER – Creating a Copy of Database in Azure SQL DB – SQL Authority with Pinal Dave

Advertisements

Windows Phone Dev – Disabling the Tilt Animation on a ListView

I am working on a Windows Phone 8.1 Runtime app and have a ListView to display data on a detail page. The problem is that by default the tilt animation is enabled. This is not wanted because it giv…

Source: Windows Phone Dev – Disabling the Tilt Animation on a ListView

Insert json file into mongodb

mongoimport --db DATABASE_NAME --collection COLLECTION_NAME --file JSON_FILE_NAME.json

mongorestore syntax error “missing ; before statement (shell):1”

If you are attempting to run mongorestore from inside the JS shell , you ‘ll encounter this error.

Mongorestore is a standalone application, and is run directly from the terminal.

The following will not work:

C:\Program Files\MongoDB\Server\3.2\bin>mongo.exe
MongoDB shell version: 3.2.1
connecting to: test
> mongorestore --db test --drop \dump\test
2016-03-24T19:21:44.206+0530 E QUERY [thread1] SyntaxError: missing ; before statement @(shell):1:15
>

If you run mongorestore directly from the terminal you should be successful:

C:\Program Files\MongoDB\Server\3.2\bin>mongorestore [path_to_dump_directory]\dump

Node.js intellisense | TheSociableGeek.com

Source: Node.js intellisense | TheSociableGeek.com

Guidance on using the App Specific Hardware ID (ASHWID) to implement per-device app logic – Windows app development

Source: Guidance on using the App Specific Hardware ID (ASHWID) to implement per-device app logic – Windows app development

Encrypt / Decrypt String with password Windows Store apps | GeekChamp Forums

Source: Encrypt / Decrypt String with password Windows Store apps | GeekChamp Forums