Re: Anything like Constants in SQL Server?
From: David Browne (meat_at_hotmail.com)
Date: 06/10/04
- Next message: Aaron [SQL Server MVP]: "Re: Anything like Constants in SQL Server?"
- Previous message: colin: "Re: what comes after z ?"
- In reply to: Aaron [SQL Server MVP]: "Re: Anything like Constants in SQL Server?"
- Next in thread: Aaron [SQL Server MVP]: "Re: Anything like Constants in SQL Server?"
- Reply: Aaron [SQL Server MVP]: "Re: Anything like Constants in SQL Server?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Jun 2004 11:02:00 -0500
"Aaron [SQL Server MVP]" <ten.xoc@dnartreb.noraa> wrote in message
news:%238F65%23vTEHA.1508@TK2MSFTNGP11.phx.gbl...
> I use a constants or properties table. There is no such thing as a
constant
> or global in SQL Server...
>
> --
Just beware that joining in a constants table complicates your query plans
and interferes with index selectivity analysis. For cheap queries, it's no
big deal, but in an expensive query it can be fatal.
David
- Next message: Aaron [SQL Server MVP]: "Re: Anything like Constants in SQL Server?"
- Previous message: colin: "Re: what comes after z ?"
- In reply to: Aaron [SQL Server MVP]: "Re: Anything like Constants in SQL Server?"
- Next in thread: Aaron [SQL Server MVP]: "Re: Anything like Constants in SQL Server?"
- Reply: Aaron [SQL Server MVP]: "Re: Anything like Constants in SQL Server?"
- Messages sorted by: [ date ] [ thread ]