Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cameron Oliver

Cameron Oliver

Community Learner
Share
34Questions
33Answers
44.0KViews on questions

How to Insert multiple rows into a table using an IDENTITY column ?

Here are the steps for Inserting multiple rows into a table with identity column SNO (Primary Key, and Identity [i.e. autoincrementing]) NAME (not null) CLASS (not null) SECTION (not null) CREATE TABLE STU (SNO INT IDENTITY (1,1) CONSTRAINT PK_SNO PRIMARY KEY (SNO), NAME VARCHAR(25), CLASS VARCHAR(20), SECTION CHAR…

SQL Server

Answered Apr 23, 2021 · 23 Views Read answer →

What are the Disadvantages of using ON DELETE CASCADE on every foreign key?

SQL server cascade delete A foreign key with cascade delete means that if a record in the parent table is deleted, then the corresponding records in the child table will automatically be deleted. And this is the disadvantage of using ON DELETE CASCADE. Cascading deletes should not cause unexpected loss of data. If a…

SQL Server

Answered Apr 23, 2021 · 121 Views Read answer →

Why SQL Server CONTAINS ignores single quote before asterix ?

SQL server CONTAINS string is used for full-text searching, and can search for: for a word or phrase the prefix of a word or phrase a word near another word a word inflectionally generated from another word, such as spoon and spooning synonyms Perhaps you should use: DECLARE @String2 NVARCHAR(20) = '"SomeName''%"';…

SQL Server

Answered Apr 23, 2021 · 128 Views Read answer →

How to do SQL server documentation for databases?

How do you document your database? (SQL-Server) What tool do you use? Documentation Storage Format for database schema/meta-data? Word documents Excel spreadsheet Plain Text Documentation process or policies? I am not talking about reverse engineering / document a existing database, but mainly on the documentation…

SQL Server

Answered Apr 22, 2021 · 30 Views Read answer →

Dose OLE DB provider "MSOLEDBSQL" with SQL Server not supported?

MS OLE DB provider for SQL server The Microsoft OLE DB Provider is an SQL tool that enables developers to write code that provides an application with ADO access to an SQL database. The OLE DB Provider is not installed by default when SQL Server is installed.OLE DB Driver for SQL Server was designed to provide a…

SQL Server

Answered Apr 17, 2021 · 58 Views Read answer →

Sql Server - Build a json array of integer from an aggregate

You could approximate the desired output like this: SELECT p.id , p.[name] , LuckNumbers = ( SELECT ln.LuckyNumber FROM #LuckyNumbers ln WHERE ln.PersonId = p.Id FOR JSON PATH ) FROM #person p FOR JSON PATH; Essentially, creating a JSON array of int values for each person's lucky numbers. I'm not sure how to remove…

SQL Server

Answered Apr 16, 2021 · 112 Views Read answer →

python setup.py uninstall

Instead of using setup.py you should use pip install. You need to remove all the files manually and then undo any changes done during the installation manually. To record a list of installed files, you can use: python setup.py install --record files.txt

Python

Answered Apr 13, 2021 · 1.0K Views Read answer →

More members from the SQL Server community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.