Search
 
SCRIPT & CODE EXAMPLE
 

SQL

how to check default value of column in sql server

SELECT object_definition(default_object_id) AS definition
FROM   sys.columns
WHERE  name      ='colname'
AND    object_id = object_id('dbo.tablename')
Comment

PREVIOUS NEXT
Code Example
Sql :: select only distinct values from another table and excluding from current table 
Sql :: sql add calculated column 
Sql :: 2 max value in sql 
Sql :: sqlalchemy case insensitive like 
Sql :: sql where is not number 
Sql :: sql server delete records with specific date 
Sql :: create-table 
Sql :: first max salary in sql 
Sql :: sql rename column in select 
Sql :: pl sql search saurce code 
Sql :: ORACLE CALL BACK TRACE 
Sql :: unique sql 
Sql :: create postgres role and database for bitbucket 
Sql :: delete and drop in sql 
Sql :: mysql autoincrement valor inicial 
Sql :: sql server obtener nombre sin espacios en blanco 
Sql :: oracle for loop on list 
Sql :: how to show current database in mysql 
Sql :: initialize sql date 
Sql :: macos oracle docker oracle11g 
Sql :: sql where clause 
Sql :: codeigniter dbforge add index 
Sql :: SQL Server date literal 
Sql :: copy data from one database to another 
Sql :: example database query 
Sql :: pl sql command line run 
Sql :: mysql copy data from one table to another 
Sql :: database passwords from dbeaver 
Sql :: was not locked with LOCK TABLES 
Sql :: last mysql 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =