Quantcast
Channel: Questions Tagged With validation
Browsing all 58 articles
Browse latest View live
↧

Validate sql statements

I was thinking that I could use:SELECT PLAN('statement goes here');If the result is some text, then I know the syntax of the sql statement is valid. Is there a better way of doing such validations?I'm...

View Article


dbvalid.exe options

I'm trying to sort out exactly what validation methods are used with the different switches for dbvalid.exeThe docs say that by default "dbvalid validates all the tables, materialized views, and...

View Article


dbvalid.exe unable to start database

When replaying logs on a standby database and then validating it in (in read only mode) we occasionally come across this oddity. DBValid is unable to start the database even though the previous log...

View Article

Primary key Index error

Some of our customers faced this problem: After some time of heavy usage of one table (many inserts and deletes, but max about 200 rows in average table size) sometimes the primary key index of this...

View Article

Corrupt blob in table.

On validating a SQLA 16 database we get the following. Can this be fixed ?Rogue page found in blob on page 00036a00 of table "Ticket_Templates" in database file "c:\sdata\store18_m.db" Invalid blob...

View Article


dbvalid gives 'Run time SQL error' on certain tables

[SQL Anywhere 12.0.1.3423 64-bit]I ran dbvalid against an offline database using this command:"%SQLANY12%\bin64\dbvalid.exe" -c "uid=dba;pwd=***;dbf=mydatabase.db;eng=validate;start=dbeng12 -r -ch...

View Article

How does the VALIDATE TABLE SQL statement report an error?

Does it raise an exception?( or can someone tell me how to force an error? )For example, the dbvalid.exe utility appears to run VALIDATE TABLE statements, and is able to determine "No errors...

View Article

Validate table progress

Is the statement validate table logging anywhere its Progress? Can I find anything in the server messages or the request logging?

View Article


Backup of Database while in Use

I have a 40gb database (SQL Anywhere 17) that I am trying to backup and have begun to get errors when validating a certain table. I am using a maintenance plan that runs when the database should be at...

View Article


Is sa_validate() the same as sa_validate(null, null)?

Hi all,according to the SA 11 and above docs, there seems to be a (slight) difference between runningcall sa_validate(); andcall sa_validate(null, null); From the SA 11.0.1 docs:If you specify...

View Article

How do I get the maximum amount of information from dbvalid?

How many runs of 11.0.1.2472 dbvalid.exe do I have to run, using which options, to perform the maximum amount of checking?I am guessing two runs...One run with the defaults (no -d -fx -i -s or -t)One...

View Article

Are the default checks of sa_validate() and DBVALID identical?

Just a follow-up from this question on DBVALID:If my understanding of John's clarifications in the cited question is correct, then DBVALID with no arguments does a VALIDATE DATABASE and a VALIDATE...

View Article

Backup creating invalid database file

I've got a maintenance plan running that does a validation and then a backup usingbackup database directory 'P:\\GKBackups' wait before start transaction log rename; There seems to be something wrong...

View Article


What happens when a CHECKSUM check fails?

SQL Anywhere 11.01.2527We're looking to enable by default CHECKSUM clause on all of our databases as it sounds like a good thing.However, what exactly will happen if a checksum check fails whilst the...

View Article

Validation should check the signature, too

Based on that question, I would suggest that the validation of a database should check the signature string, too.As John and Mark have explained in comments on this answer, some bytes in the first...

View Article


how to do an integrity check

what is the equivalent to MSSQL DBCC checkdb in sybase?

View Article

Validation speed in v12 against v10

I'm doing some testing of some relatively large databases (40 - 100 GB) in v12.0.1 (moving from v10.0.1).I have been comparing times for full checks (using the Sybase Central wizard) and I'm getting...

View Article


Suggestions with dbvalid error

I'm trying to get the validation utility running on our SQL Anywhere 12 database similar to how we had it working with our ASA6 database.Basic design is that we have replication running every hour at...

View Article

Validate Database for UltraliteJ

How can I validate an Ultralite database using the UltraliteJ's api for Android? I would like to validate the database after execute a ALTER DATABASE FROM FILE command.If there isn't a way to do that,...

View Article

-300 sql run time error while validating database

I have encountered below problem.-300 sql run time error while validating database..sybase asa 12 db.Run time SQL error -- %1Item Value SQLCode -300 Constant SQLE_ERROR SQLState 40000 ODBC State S1000...

View Article
Browsing all 58 articles
Browse latest View live