Hello!
This is the code shown in the Help:
Conn := TMSSQLConnection.Create(
'Server=.\SQLEXPRESS;Database=Northwnd;TrustedConnection=True');
Manager := TObjectManager.Create(Conn);
But I have a whole slew of settings that need to go in, specifically:
- It's a native client
- It needs a username (sa)+password
So it cannot be a trusted connection.
Does anyone have a piece of code showing the right connection string? Alternatively, can I pass an empty string and use the specialised params?
Thanks!