Ask a Question related to Coldfusion Database Access, Design and Development.
-
surenr #1
uniqueidentifier
Hi,
I have different attributes with the data types as follows:
EmpID uniqueidentifier
EmpName Char
EmpSal Int
I am not sure how the uniqueidentifier works,but I had checked in the SQL
forums and it is said that the EmpID will be assigned an automatically
generated number, so in the insert statement we can give:
INSERT INTO Emp_Info(EmpName,EmpSal)
VALUES ('David',5400)
I tried this same stuff but it throws an error:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot insert the value
NULL into column 'EmpID', table 'BIOL1114.dbo.page_data'; column does not allow
nulls. INSERT fails.
Any ideas and suggestions will be of help.
thnx
surenr Guest
-
sp using a uniqueidentifier
when I try to run a stored procedure which contains a select statement I get Syntax error converting from a character string to uniqueidentifier.... -
How to use uniqueidentifier fields a return dataset from a webserv
I have made a web service that returns a typed dataset that includes a uniqueidentifier field. When I import this web service into visual studio... -
Is it possible to use uniqueidentifier in a web service type Datas
I have made a web service that returns a typed dataset that includes a uniqueidentifier field. When I import this web service into visual studio... -
uniqueidentifier-0.2
Hi Everyone Has anyone been able to compile uniqueidentifier-0.2 on the openBSD 3.6 environment with Postgresql 7.4.3? We need to use this... -
#24752 [NEW]: unknown column type "uniqueidentifier", type 35
From: s dot sonnenberg at coolspot dot de Operating system: Linux PHP version: 4.3.2 PHP Bug Type: MSSQL related Bug... -
SQLMenace #2
Re: uniqueidentifier
make a default on the table or use
INSERT INTO Emp_Info(EmpID ,EmpName,EmpSal)
VALUES (newid(),'David',5400)
SQLMenace Guest



Reply With Quote

