Actually worked .. changed the index name different then column name.
Thanks
User Profile
Collapse
-
Actually i removed directly from xxx.accdb access file.
I just want to add index through code to make reading faster.
I tried:
but it didn't work.Code:string addIndex = "CREATE INDEX columnName ON table(columnName) WITH IGNORE NULL"; OleDbCommand cmd = new OleDbCommand(addIndex, conn); cmd.ExecuteNonQuery();
Leave a comment:
-
Add Indexed (Duplicated OK) to access database C#
I have an application which inserts large amount of data in Access database. So to speed up the things i have set Indexed property to No.
So at the end of insertion i need to set the index to the column of the one of the table to Indexed (Duplicates OK) through C#.
Help would be really appreciated.
Thanks -
No
Destination and source are memory locations.
So StrLCopy will copy the max number of characters from the memory address of source to memory address of destination.Leave a comment:
-
How to copy string at specified memory location?
I have a string and i want to copy at specified memory location.
Suppose i have a pre-allocated memory represented by
char* logFile (unsafe code)
I have a generated string which contains the name of log file.
I want to copy that string on location represented by char*.
Please help me on this.
=============== =============== =============== =============== =
Also i have to copy specified... -
Convert Byte array to Integer 2 bytes at a time
I have a byte array which looks something like
01 00 02 00 73 45 69 A5
So i have to read first 2 bytes and convert it into integer to get its value.
Same for next 2 bytes and then next 4 bytes.
Here the value for first 2 bytes (01 00) is 1, next 2 bytes (02 00) is 2.
So could some one help me on this.
No activity results to display
Show More
Leave a comment: