Search Result

Collapse
3 results in 0.0025 seconds.
Keywords
Members
Tags
;
  •  

  • Newface
    started a topic Downloaded file is corrupt
    in .NET

    Downloaded file is corrupt

    Code:
    string SQL = "SELECT FileName,FileSize,ContentType,FileData FROM FileTable WHERE FileID = '" + FileID + "'";
            SqlConnection con = Connection.GetConnection();
            SqlCommand cmd = new SqlCommand();
            DataTable dt = new DataTable();
            SqlDataAdapter da = new SqlDataAdapter(SQL, con);
            cmd.CommandType = CommandType.Text;
            cmd.Connection = con;
    ...
    See more | Go to post

  • sentenza
    started a topic problem with variable

    problem with variable

    Hello everyone

    When the trigger executes the function which I copy below:

    Code:
    IF (TG_OP = 'UPDATE') THEN
    EXECUTE 'CREATE TABLE '||NEW.nome_tabella||' (ordinativo serial PRIMARY KEY
    CHECK (nome_tabella = '||NEW.nome_tabella||'::text))
    INHERITS (madre);
    first use of the variable '||NEW.nome_tab ella||' is correct and the table is created with the name, for example "azienda_vallon e",...
    See more | Go to post

  • trigger to distribute the data in other tables (by conditions)

    Here again with other trigger:

    the tables structure of the database:
    "database_t " (master),
    "azienda_vallon e" (SLAVE1),
    "azienda_energy " (SLAVE2 )
    ....
    all tables have identical structure.

    I want to create a trigger that on updates of table "database_t " I update the fields in the table "azienda_vallon e" and on insert in table "database_t "...
    See more | Go to post
Working...