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 maximum allowable size of an index. Composite index specified is 602 bytes.
It is because one column with 600 length(univarchar(600).
I have query with condition like:
where col1 =1 and col2 like 'abc%'
col2 is univarchar(600). I try to create index(col1+col2). Without proper index, query has bad performance.
How to resolve this problem?