Hello all,
I've worked mostly with FirebirdSQL and Firebird has a nifty little
feature called "domains" which are basically pre-defined field types
which can included native field type (int, varchar, etc), constraints,
etc. Instead of defining an Int field with a default value of zero
that must be between 1 and 100000 everytime you need that kind of
field, you can just create that domain and assign that domain as a
field/column type when created a table.
This is a time saver as well as making data types standardized in my
database.
Is there an equivelant in SQL Server?
--
Warm Regards,
Lee
"Upon further investigation it appears that your software is missing
just one thing. It definitely needs more cow bell..."Yes, User Defined Data Types.
Have a look in SQL Books On Line for sp_addtype
You will need to bind a rule to your UDDT with the syntax "CREATE RULE" to
fully implement what you're after
--
HTH. Ryan
"Lee" <luv2program2000@.yahoo.com> wrote in message
news:Ox7G4Y4GGHA.532@.TK2MSFTNGP15.phx.gbl...
>
> Hello all,
> I've worked mostly with FirebirdSQL and Firebird has a nifty little
> feature called "domains" which are basically pre-defined field types
> which can included native field type (int, varchar, etc), constraints,
> etc. Instead of defining an Int field with a default value of zero
> that must be between 1 and 100000 everytime you need that kind of
> field, you can just create that domain and assign that domain as a
> field/column type when created a table.
> This is a time saver as well as making data types standardized in my
> database.
> Is there an equivelant in SQL Server?
>
> --
> Warm Regards,
> Lee
> "Upon further investigation it appears that your software is missing
> just one thing. It definitely needs more cow bell..."|||Ryan enlightened me by writing:
> Yes, User Defined Data Types.
> Have a look in SQL Books On Line for sp_addtype
> You will need to bind a rule to your UDDT with the syntax "CREATE
> RULE" to fully implement what you're after
Excellent.
Thanks Ryan
--
Warm Regards,
Lee
"Upon further investigation it appears that your software is missing
just one thing. It definitely needs more cow bell..."|||But you should be aware that Default and Rule objects (they you tie to user defined datatypes, or
"alias datatypes" as they are called in 2005) are deprecated in 2005. This means that Default and
Rule objects will be removed in some future version of SQL Server (in favor for Constraints).
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Lee" <luv2program2000@.yahoo.com> wrote in message news:%23YmZyu4GGHA.216@.TK2MSFTNGP15.phx.gbl...
> Ryan enlightened me by writing:
>> Yes, User Defined Data Types.
>> Have a look in SQL Books On Line for sp_addtype
>> You will need to bind a rule to your UDDT with the syntax "CREATE
>> RULE" to fully implement what you're after
> Excellent.
> Thanks Ryan
> --
> Warm Regards,
> Lee
> "Upon further investigation it appears that your software is missing
> just one thing. It definitely needs more cow bell..."
Showing posts with label feature. Show all posts
Showing posts with label feature. Show all posts
Sunday, February 26, 2012
Domains in SQL Server?
Friday, February 17, 2012
Does Yukon have diagramm designer?
I've installed Beta2 and havn't found this feature.
How can I now design my databse sheme?Use VISIO... That feature has been removed from the client tools, at least
for now.
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:81E14BD3-7F3D-41B3-A6FA-2DF8AACFF056@.microsoft.com...
> I've installed Visio for VS2005 Beta? but I can't found where is that
command
> to do it
To do what?|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:436C4814-D513-43BA-A68F-B7D34FC357BE@.microsoft.com...
> I mean not to create new diagram but contigious development of a database
> (two way connection with a database)
I don't know about the 2005 version, but in Visio for Enterprise
Architects (I believe the version I'm running came with VS.NET 2003), under
the "Database" toolbar, there are options "Update", "Generate", and "Reverse
Engineer" that handle that functionality.|||It's in, it's out... most recently someone told me it was going to be put
back in.. but I do not remember who I was talking to...
--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?
How can I now design my databse sheme?Use VISIO... That feature has been removed from the client tools, at least
for now.
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:81E14BD3-7F3D-41B3-A6FA-2DF8AACFF056@.microsoft.com...
> I've installed Visio for VS2005 Beta? but I can't found where is that
command
> to do it
To do what?|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:436C4814-D513-43BA-A68F-B7D34FC357BE@.microsoft.com...
> I mean not to create new diagram but contigious development of a database
> (two way connection with a database)
I don't know about the 2005 version, but in Visio for Enterprise
Architects (I believe the version I'm running came with VS.NET 2003), under
the "Database" toolbar, there are options "Update", "Generate", and "Reverse
Engineer" that handle that functionality.|||It's in, it's out... most recently someone told me it was going to be put
back in.. but I do not remember who I was talking to...
--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?
Does Yukon have diagramm designer?
I've installed Beta2 and havn't found this feature.
How can I now design my databse sheme?
Use VISIO... That feature has been removed from the client tools, at least
for now.
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?
|||I've installed Visio for VS2005 Beta? but I can't found where is that command
to do it
"Adam Machanic" wrote:
> Use VISIO... That feature has been removed from the client tools, at least
> for now.
>
> "Vadim" <Vadim@.discussions.microsoft.com> wrote in message
> news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
>
>
|||I mean not to create new diagram but contigious development of a database
(two way connection with a database)
"Adam Machanic" wrote:
> Use VISIO... That feature has been removed from the client tools, at least
> for now.
>
> "Vadim" <Vadim@.discussions.microsoft.com> wrote in message
> news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
>
>
|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:81E14BD3-7F3D-41B3-A6FA-2DF8AACFF056@.microsoft.com...
> I've installed Visio for VS2005 Beta? but I can't found where is that
command
> to do it
To do what?
|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:436C4814-D513-43BA-A68F-B7D34FC357BE@.microsoft.com...
> I mean not to create new diagram but contigious development of a database
> (two way connection with a database)
I don't know about the 2005 version, but in Visio for Enterprise
Architects (I believe the version I'm running came with VS.NET 2003), under
the "Database" toolbar, there are options "Update", "Generate", and "Reverse
Engineer" that handle that functionality.
|||It's in, it's out... most recently someone told me it was going to be put
back in.. but I do not remember who I was talking to...
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?
How can I now design my databse sheme?
Use VISIO... That feature has been removed from the client tools, at least
for now.
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?
|||I've installed Visio for VS2005 Beta? but I can't found where is that command
to do it
"Adam Machanic" wrote:
> Use VISIO... That feature has been removed from the client tools, at least
> for now.
>
> "Vadim" <Vadim@.discussions.microsoft.com> wrote in message
> news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
>
>
|||I mean not to create new diagram but contigious development of a database
(two way connection with a database)
"Adam Machanic" wrote:
> Use VISIO... That feature has been removed from the client tools, at least
> for now.
>
> "Vadim" <Vadim@.discussions.microsoft.com> wrote in message
> news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
>
>
|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:81E14BD3-7F3D-41B3-A6FA-2DF8AACFF056@.microsoft.com...
> I've installed Visio for VS2005 Beta? but I can't found where is that
command
> to do it
To do what?
|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:436C4814-D513-43BA-A68F-B7D34FC357BE@.microsoft.com...
> I mean not to create new diagram but contigious development of a database
> (two way connection with a database)
I don't know about the 2005 version, but in Visio for Enterprise
Architects (I believe the version I'm running came with VS.NET 2003), under
the "Database" toolbar, there are options "Update", "Generate", and "Reverse
Engineer" that handle that functionality.
|||It's in, it's out... most recently someone told me it was going to be put
back in.. but I do not remember who I was talking to...
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?
Does Yukon have diagramm designer?
I've installed Beta2 and havn't found this feature.
How can I now design my databse sheme?Use VISIO... That feature has been removed from the client tools, at least
for now.
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?|||I've installed visio for VS2005 Beta? but I can't found where is that comman
d
to do it
"Adam Machanic" wrote:
> Use VISIO... That feature has been removed from the client tools, at least
> for now.
>
> "Vadim" <Vadim@.discussions.microsoft.com> wrote in message
> news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
>
>|||I mean not to create new diagram but contigious development of a database
(two way connection with a database)
"Adam Machanic" wrote:
> Use VISIO... That feature has been removed from the client tools, at least
> for now.
>
> "Vadim" <Vadim@.discussions.microsoft.com> wrote in message
> news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
>
>|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:81E14BD3-7F3D-41B3-A6FA-2DF8AACFF056@.microsoft.com...
> I've installed visio for VS2005 Beta? but I can't found where is that
command
> to do it
To do what?|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:436C4814-D513-43BA-A68F-B7D34FC357BE@.microsoft.com...
> I mean not to create new diagram but contigious development of a database
> (two way connection with a database)
I don't know about the 2005 version, but in visio for Enterprise
Architects (I believe the version I'm running came with VS.NET 2003), under
the "Database" toolbar, there are options "Update", "Generate", and "Reverse
Engineer" that handle that functionality.|||It's in, it's out... most recently someone told me it was going to be put
back in.. but I do not remember who I was talking to...
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?
How can I now design my databse sheme?Use VISIO... That feature has been removed from the client tools, at least
for now.
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?|||I've installed visio for VS2005 Beta? but I can't found where is that comman
d
to do it
"Adam Machanic" wrote:
> Use VISIO... That feature has been removed from the client tools, at least
> for now.
>
> "Vadim" <Vadim@.discussions.microsoft.com> wrote in message
> news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
>
>|||I mean not to create new diagram but contigious development of a database
(two way connection with a database)
"Adam Machanic" wrote:
> Use VISIO... That feature has been removed from the client tools, at least
> for now.
>
> "Vadim" <Vadim@.discussions.microsoft.com> wrote in message
> news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
>
>|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:81E14BD3-7F3D-41B3-A6FA-2DF8AACFF056@.microsoft.com...
> I've installed visio for VS2005 Beta? but I can't found where is that
command
> to do it
To do what?|||"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:436C4814-D513-43BA-A68F-B7D34FC357BE@.microsoft.com...
> I mean not to create new diagram but contigious development of a database
> (two way connection with a database)
I don't know about the 2005 version, but in visio for Enterprise
Architects (I believe the version I'm running came with VS.NET 2003), under
the "Database" toolbar, there are options "Update", "Generate", and "Reverse
Engineer" that handle that functionality.|||It's in, it's out... most recently someone told me it was going to be put
back in.. but I do not remember who I was talking to...
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Vadim" <Vadim@.discussions.microsoft.com> wrote in message
news:B178B37A-6B45-4585-96E9-82653560A788@.microsoft.com...
> I've installed Beta2 and havn't found this feature.
> How can I now design my databse sheme?
Subscribe to:
Posts (Atom)