Quantcast
Channel: SCN : All Content - SAP on SQL Server
Viewing all articles
Browse latest Browse all 837

Create SAP index with "INCLUDE" clause

$
0
0

Hi,

 

I were created an index in sql 2005, but I need create this index in ABAP dictionary, but this index has more than 15 fields, and the index has the clause include, ¿how can include the "INCLUDE" clause in ABAP dictionary?

 

This index is recommended by the DB02  transaction, and I've tried to recreate in SE11, but I can't do this, because SE11 only allow to create the index with primary keys...

 

I attach the SQL sentence...

 

USE

GO

/****** Object:  Index     Script Date: 01/15/2009 09:56:20 ******/

CREATE NONCLUSTERED INDEX ON .[/1SGS/DC14C889]

(

      ASC,

      ASC,

      ASC,

     /BA1/C10UOID ASC

)

INCLUDE ( ,

/1BA/SCBUSECAT,

/1BA/SCCECPROD,

/1BA/SCCNTRHQ,

/1BA/SCINDSECT,

/1BA/ISTYPE,

/BA1/C20BPART,

/BA1/C62ABSCAT,

/BA1/C62ABSNEL,

/BA1/C62ABSTID,

/BA1/C62APPRCH,

/BA1/C62CECTR,

/BA1/C62FNDCAT,

/BA1/C62SECCAT,

/BA1/C62UFNDID,

/BIC/SCSPCLCAT,

/BIC/ZCNCNAE,

/BIC/ZCTITLDAD) WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON

 

I don't know if SAP permit include this clause..

 

Best regards,

 

Thanks in advance,

 


Viewing all articles
Browse latest Browse all 837

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>