Тема: [Piercing Blow] DB Update Code
Показать сообщение отдельно
Непрочитано 05.02.2018, 06:39   #1
Аватар для Exile03
Пользователь

Автор темы (Топик Стартер) DB Update Code

I'm making new code for update on DB
I want know some code i can use in this some i understand other no someone can help me?

This i understand
INT = i can use "Int"
DATETIME = i can use "String"
VARCHAR = i can use "String"


This no someone can help me?
BINARY = i can use "WHAT?"
VARBINARY = i can use "WHAT?"
BIGINT = i can use "WHAT?"
NVARCHAR = i can use "WHAT?"


Код:
		private static void SendMail(string date, string tablename, int sort, ref string err)
		{
			try
			{
				Console.WriteLine("Step 1 : Execute RK_JOB_BATTLE_GRADE_CreateTable \n");
				SqlParameter[] parameters = new SqlParameter[]
				{
					new SqlParameter("@i_reg_date", date), 
					new SqlParameter("@o_table_name", tablename), 
					new SqlParameter("@o_sp_rtn", sort)
				};
Exile03 вне форума Ответить с цитированием