Re: C# BulkCopy only sometimes supports unsigned bigint fields
> - is the problematic column created as 'null' or 'not null'? what happens if you change the nullability?The column is created as nullable. I'll test it as not null (I suspect it will work)> -...
View ArticleRe: C# BulkCopy column mappings don't work with IDataReader
Will try an open a report - this will need go through another team to raise this. We're using SDK SP122. If you look at the code in AseBulkCopyBusinessBulk(IDataReader reader, AseBulkCopy bulkCopy, int...
View ArticleRe: C# BulkCopy column mappings don't work with IDataReader
Hi Mike, Okay – opening an incident will be great as my team will handle this. If we could get the sample code – include ASE version, table DDL, that sort of thing plus error messages. We made some...
View ArticleRe: C# BulkCopy column mappings don't work with IDataReader
Thanks have sent it on - will get you the case number when I get it. > If they have the opportunity to test current 15.7 SP130 release that would be helpful as well.We've downloaded SP130 and tested...
View ArticleRe: C# BulkCopy column mappings don't work with IDataReader
Hi Mike, 15.7 SP130 came out in August or thereabouts. It should work okay with ASE 15.5 - please open a new discussion and perhaps post one or two of the errors. There is no major difference in the...
View ArticleRe: Can't kill process created by Sybase Java
Hi, I am not sure what OS your ASE resides on or where you are executing your java application from or what version of the jconn4.jar you are using? Try the following and see if this can clean anything...
View ArticleWhat's reason cause the insert delay in tempdb and how to improve it?
I have ASE 12.5. The tempdb is on ramdisk.Then I have a SP with a query like select * from mytab....... When I run this SP, only 11 rows for the result. It took about 2 seconds.Then I change the SP to...
View ArticleRe: What's reason cause the insert delay in tempdb and how to improve it?
Post the complete output from the following: =========================== submit to 'isql'sp_helpdb tempdbgosp_helpdevicego set showplan onset statistics io,time ongo -- execute each proc twice; once to...
View ArticleRe: What's reason cause the insert delay in tempdb and how to improve it?
thanks, Mark. Here is the results with your guide: sp_helpdb tempdbgo name db_size owner dbid created status 1 tempdb 2003.0 MB sa 2 Oct...
View Articlehow to use temp table in inside a procedure called?
Suppose I have a stored procedure sp1 which call another procedure sp2 like: create proc sp1asbegin CREATE TABLE #table1 (......) Exec sp2 end then I want to use #table1 in sp2, like create proc...
View ArticleRe: how to use temp table in inside a procedure called?
The trick to setting this up is to create the #temp1 table before creating sp2 to avoid any "object not found" resolution error while the query tree is being created. The drop the table. When sp2 is...
View ArticleRe: how to use temp table in inside a procedure called?
thanks, got it. Bret. One more question. If sp2 call another sp3, if this #table1 available for sp3 if I doing thing like: sp1. CREATE TABLE #table1 (......)go create proc sp3asbegin.... delete...
View ArticleHow to create a composite index?
Most of time, I have no problem to create composite index. Try to create a composite index on a table and got following error message: Number (1903) Severity (16) State (1) Server (Myserver) 600 is the...
View ArticleRe: How to create a composite index?
Hm. That doesn't seem right - a univarchar(600) would count as 1200 bytes. Perhaps it is a univarchar(300)? There isn't a lot of wiggle room here. You can create such an index if the column can be...
View ArticleRe: best size of procedure cache size?
Hi Kent, Your sp__monitorconfig 'procedure cache size' outputs indicates the followings:-current usage of 26+%HWM of 787,437 x2K pages, which is 52+%re-used count of 746,136, which is 50% The ASE...
View ArticleRe: How to create a composite index?
Thank you, Bret. A mistake. the column is varchar(600). The pagesize of ase is 2K. Here is the output from my ase:56 Item dependent on page size : 2048 4096...
View Articledb error caused by dbcc memusage
issue dbcc memusage and system is frozen, then got following error 00:00000:00000:2014/10/16 09:50:23.91 kernel secleanup: time to live expired on engine 100:00000:00009:2014/10/16 09:50:23.93 kernel...
View ArticleWhich one has better performance: like, charindex, patindex
in a query where condition clause. to check if string a contain b, I have a few options with ASE 12.5.4: a like '%b%'charindex(b,a)>0patindex('%b%', a)>0 which one has better performance?
View Articlequestion on dbcc message
I am running dbcc checkdb and got following message for 2 tables: Checking mytab1: Logical pagesize is 2048 bytes ---long timeChecking mytab1: Logical pagesize is 2048 bytesThe total number of data...
View Article