전체 글

전체 글

    trigger onload event when downloading a file in an iframe

    download file 출처 : http://stackoverflow.com/questions/1524639/how-to-trigger-onload-event-when-downloading-a-file-in-an-iframe

    PHP | MSSQL and SQLSRV Function 비교

    MSSQLSQLSRV비고mssql_bindsqlsrv_queryWith the sqlsrv API, stored procedure parameters are defined in an array that is passed to sqlsrv_query orsqlsrv_prepare. For more information and examples, see How to: Retrieve Output Parameters, How to: Retrieve Input/Output Parameters, andsqlsrv_next_result. mssql_closesqlsrv_closeThese functions are equivalent, but note that calling sqlsrv_closereturns a co..

    Error Code: 1153 - Got a packet bigger than 'max_allowed_packet' bytes

    my-sql sql-dump restore 시 에러 발생 Error Code: 1153 - Got a packet bigger than 'max_allowed_packet' bytes my.cnf에서 max_allowed_packet = 1M ==>max_allowed_packet = 128M 변경하고 저장하면 된다.

    데이터 export 시에 print 'processed *** total receords' 제거하기

    찾기 및 바꾸기 (crlt + H) 에서찾을 내용에 \nprint 'processed ([0-9])* total records' 입력 후 모두 바꾸기 하면 된다. I would not remove the GO statements that break up large batches. There are various reasons for breaking large insertssize (duration) of transactionsmemory requirementstransaction log managementmirror synchronicityerror isolation (by batch)etc...As for removing the status updates, that can be done easily. ..

    MSSQL CONVERT 시 varchar 잘림 문제

    구문Syntax for CAST: CAST ( expression AS data_type [ (length ) ]) Syntax for CONVERT: CONVERT ( data_type [ ( length ) ] , expression [ , style ] )인수expression유효한 식입니다. data_type대상 시스템에서 제공하는 데이터 형식입니다. xml, bigint 및 sql_variant가 있습니다. 별칭 데이터 형식은 사용할 수 없습니다. 사용 가능한 데이터 형식에 대한 자세한 내용은 데이터 형식(Transact-SQL)을 참조하십시오. lengthnchar, nvarchar, char, varchar, binary 또는 varbinary 데이터 형식의 선택적 매개 변수입니다. CONV..