Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
551 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
A list of one owl's 5 favourite system stored procedures in SQL! Part three of a six-part series of blogs |
---|
Everyone has a favourite system stored procedure (you do, don't you?). But five? That's the subject of this blog, anyway.
|
Unless you have committed all of the SQL data types to memory, there'll be times when you want to remind yourself of how big an int really is, or what a varchar is and does. Here's how to get an answer! You can either get a full list:
-- show all data types
sp_datatype_info
This gives the following:
There are many more columns and rows than are shown here.
Or you could be more specific:
-- show info on subset of data types
sp_datatype_info -9
This would show you a rather odd subset of data types:
Again, there are more columns than are shown here!
Quite why nvarchar and date belong in the same group, but varchar doesn't, I'm not sure!
Parts of this blog |
---|
|
Some other pages relevant to the above blogs include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.