Top "Sql-view" questions

A database view is a stored query.

SQL Views - no variables?

Is it possible to declare a variable within a View? For example: Declare @SomeVar varchar(8) = 'something' gives me the syntax …

tsql sql-view
Create view with primary key?

I create a view with following codes SELECT CONVERT(NVARCHAR, YEAR(okuma_tarihi)) + 'T1' AS sno, YEAR(okuma_tarihi) …

sql-server tsql primary-key sql-view
Computed / calculated / virtual / derived columns in PostgreSQL

Does PostgreSQL support computed / calculated columns, like MS SQL Server? I can't find anything in the docs, but as this …

postgresql calculated-columns sql-view materialized-views generated-columns
Entity Framework and SQL Server View

For several reasons that I don't have the liberty to talk about, we are defining a view on our Sql …

entity-framework sql-server-2005 .net-3.5 primary-key sql-view
Working with SQL views in Entity Framework Core

For example, I have such model: public class Blog { public int BlogId { get; set; } public string Url { get; set; } public …

c# entity-framework entity-framework-core sql-view
Data from two tables into one view

Is it possible to grab data from two tables (that have the same fields) into one view. Basically, so the …

sql oracle sql-view
Select Columns of a View

I'm attempting to select the column names of a view in a similar way as selecting from information_schema.columns. …

sql tsql view sql-view
Create View - Declare a variable

I am creating a view that is using that STUFF function. I want to put the result of STUFF in …

sql-server tsql sql-view declare
MYSQL UPDATE with IN and Subquery

Hi i have tables like this : table entry : id | total_comments _____________________ 1 | 0 2 | 0 3 | 0 4 | 0 table comments : id | eid | comment _____________________ 1 | 1 | comment sdfd 2 | 1 | testing testing 3 | 1 | …

mysql sql-update subquery sql-view
Error: Could not use view or function because of binding errors

I got read only access to Views and when i am trying to query the View i got this error …

sql sql-server-2008 sql-view