Viewing 15 posts - 13,066 through 13,080 (of 15,381 total)
Databases don't have IP addresses. The IP address belongs to the server. Like said before you would need to have named instances running to have the same db name multiple...
February 6, 2012 at 11:45 am
Phil Parkin (2/6/2012)
Certainly can't put together some sort of sql that can think
Come on Sean, don't let the side down, that should be easy for you :w00t:
LOL. I will start...
February 6, 2012 at 10:49 am
J Livingston SQL (2/6/2012)
2 type of House4 type of Colour
3 type of Size
5 type of Flavour
2*4*3*5 = 120 combinations
though how they are related beats me 😀
edit typo
Except that...
February 6, 2012 at 10:48 am
like this.
create procedure asdf
(
@Parameter varchar(10)
) as begin
--Comment block goes here.
select 5
end
For me this gives a nice visual separator in a long script to help isolate each sproc. It also allows...
February 6, 2012 at 10:32 am
I don't think there is a "best practice" for where to place your comments. The most important aspect is to be consistent. I tend to prefer them inside the body...
February 6, 2012 at 10:29 am
mmiller 85218 (2/6/2012)
February 6, 2012 at 10:26 am
mmiller 85218 (2/6/2012)
I need the actual possiblities because I will need to tie the results to actual programs we run and the combinations of all of them.
You do know this...
February 6, 2012 at 10:05 am
One other question, you said
Some categories can have 1 or all of the options, others can only have 1 option.
How do you know which ones can only have...
February 6, 2012 at 10:04 am
OK so do you want the number of possibilities or do you want the actual possibilities?
February 6, 2012 at 10:00 am
SQLKnowItAll (2/6/2012)
Sean Lange (2/6/2012)
SQLKnowItAll (2/6/2012)
February 6, 2012 at 9:57 am
mmiller 85218 (2/6/2012)
I need results as they show in my first post. So the actual combination of the different possiblities.
In your original post you listed several different possible results.
The...
February 6, 2012 at 9:52 am
SQLKnowItAll (2/6/2012)
February 6, 2012 at 9:48 am
Don't you just want the sum of counts partitioned by catid?
If at all possible I would highly recommend normalizing this into 2 tables (Category and Fields).
February 6, 2012 at 9:34 am
Not exactly sure what you are asking. Are you trying to find all columns in all databases in a single result set?
Something like this should work for you.
create table #Cols
(
TableName...
February 6, 2012 at 9:25 am
Hi and welcome to SSC. In order for us to help you, you first have to help us to help you. What do i mean by that? Post ddl (create...
February 6, 2012 at 8:16 am
Viewing 15 posts - 13,066 through 13,080 (of 15,381 total)