Hi
what i was trying to do is, i am using Dataset to populate data and update the database. The problem is i have a column which is of type Varchar(1), doesn't accept Nulls and default value is 0
when i insert a row through SQL and if i don't enter any value, it inserts 0 but when i try to do the same using Dataset it doesn't seem to be picking the default value and displaying an error message "A value must be...
User Profile
Collapse
-
kasukur started a topic How can we mention Dataset to use the column default value if we don't give a value tin .NETHow can we mention Dataset to use the column default value if we don't give a value t
-
How to call a SQL function which returns a cursor using c#
Hi
i am new to .net. Can someone please advise how to call a SQL function which returns a cursor using c#
i have tried to call using
...Code:OracleCommand.CommandType = CommandType.StoredProcedure OracleParameter p_case_action_id = new OracleParameter("@p_case_action_id", OracleDbType.Int32); p_case_action_id.Direction -
Thanks for your replies
i can't use select query, what i need to do is call a stored procedure which returns me a cursor and i need to find out the actual defined size of each column
Hope i'm clear
thanks
SriLeave a comment:
-
How to call a SQL function which returns a cursor using c#
Hi
i am new to .net. Can someone please advise how to call a SQL function which returns a cursor using c#
i have tried to call using
OracleCommand.C ommandType = CommandType.Sto redProcedure
OracleParameter p_case_action_i d = new OracleParameter ("@p_case_actio n_id", OracleDbType.In t32);
p_case_action_i d.Direction = ParameterDirect ion.Input;
... -
How to get column size of a table
Hi
Can someone please help me... It's seem like there is not a single way to get the column size from a dataset, table, datarow from SQL/Oracle in .Net using C# or VB
Thanks in advance
No activity results to display
Show More
Leave a comment: