Viewing 15 posts - 46 through 60 (of 146 total)
If you run it a million times. In this case here the OP has no 'from' clause so it only executes once. I actually did read your article a...
September 6, 2019 at 2:36 am
A simple Scalar Function will cause the code to take about 7 times longer than either inline code or an iTVF that acts like a scalar function. Please see...
September 6, 2019 at 2:22 am
Micheal,
Unless you're just trying something simple out to learn how to use stored procedures, this should definitely NOT be a stored procedure. Which is it? Just a simple example...
September 6, 2019 at 2:16 am
In any case, if you use them, you still want to ensure you have a GO after the end of your procedure definition.
For parameters, you can use @area as...
September 6, 2019 at 2:13 am
Blake,
I started reading that link.
sp_dropserver <old_name\instancename>;
GO
sp_addserver <new_name\instancename>, local;
GO
I just have a few issues.
August 31, 2019 at 12:47 am
I think I see it now. I created two diagrams. One to show how I think the System Catalog Views, System Views, System Catalog and System tables are related.
Another one...
August 30, 2019 at 10:23 pm
Gerard,
I forgot to consider the possibility of reserved words. Thank you.
August 30, 2019 at 9:54 pm
It is the login used by the connection to the instance. Renaming computers with SQL installed can require multiple steps to ensure that SQL is "synched" with the name...
August 14, 2019 at 12:22 am
Jeff,
I will take a look at the tally function article and see what I can find out. It is probably above my skill level but eventually I will need to...
August 13, 2019 at 1:23 am
sys.all_objects should in fact be the UNION ALL of system objects (sys.system_objects... object_id < 0) and user objects (sys.objects... object_id > 0).
If you are seeing something other than this,...
August 13, 2019 at 1:21 am
Jeff,
Thanks for your reply. The more I read your comments, the more these concepts sink in. I may not be able to put it into words but by this point,...
August 12, 2019 at 9:35 pm
OK. Most of the work then is going to be with the structures you're building. It's a good idea to know that there are system views (frequently called tables)...
August 12, 2019 at 9:23 pm
Jeff,
I spent the last 2 days or so on the first article. I got about half way through. I think I understand the concept. One part I couldn't figure out...
August 6, 2019 at 11:48 pm
I am a beginner. Let's say I wanted to view this from the standpoint of somebody who is building databases.
August 6, 2019 at 10:42 pm
Jeff,
That was a very clear and thorough explanation. I had to read it twice but I see what you are seeing. I understand the concept. Now I just have to...
August 6, 2019 at 1:37 am
Viewing 15 posts - 46 through 60 (of 146 total)