How to add a new return type in LINQ [closed] - linq-to-sql

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
Hi I need to add a new stored procedure in my file dmbl I can to add but I do not know how to add a new return type
please see the image link

My problem was result the root cause was my stored procedure used a #table instead of #table
http://riteshkk2000.blogspot.com/2010/08/error-unknown-return-type-return-types.html

Related

Trying to combine two sql queries into one: Combining a with clause with Count/Group By [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 days ago.
Improve this question
Image of two sequel queries
Basically, I want it to display all films with language name spanish and show the amount of actors in each.

Getting an error when creating a decimal entry in Mysql workbench [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed last month.
Improve this question
I am getting an error when setting a decimal value in MySQL workbench.
What am I doing wrong here?
See screenshot.
Can you removed the () from the DECIMAL() and instead enter the DECIMAL only.

Not able to delete complete row in SQL [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed last year.
Improve this question
Wanted to delete complete row, which contains NULL entries in sql with command
DELETE FROM student WHERE ID=NULL;
What is wrong in this code?
Your syntax is incorrect you need to check for IS NULL
DELETE FROM student WHERE ID IS NULL;
Adding link to documentation thanks to D M
Working with NULL values

Cannot convert decimal(4,2) to decimal(10,2) [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I have this field in my table.
I need to make it decimal(10,2), but when I tried to do it, I receive an error.
Try
ALTER TABLE users MODIFY rate decimal(10,2);

Multiple row insert in a mysql table [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Hi I need to update multiple rows in a table so I wrote below query, but it only updates the first row and not the others. Please help.
Query:
String sql = "REPLACE INTO subscriber_metadata (msisdn, have_had_speech_pkg, have_had_sms_pkg, created, changed) values ";
Well REPLACE INTO does the following DELETE + INSERT, what you're looking for is UPDATE, doc over here
REPLACE INTO is nothing more than a mechanical DELETE and INSERT. It can incite mysqld to address deadlocks (See my answer to How I prevent deadlock occurrence in my application?)