you could define a sdc file for the scan mode for example with more hold time margin, or different max frequency, and another sdc for functional mode with a highest clock frequency, or with many clocks, instead one in scan mode(for example).
In general, if I could, I prefer to have only sdc constraint with cover scan & functional(s) modes, but sometime you need more than one sdc file.