Viewing 15 posts - 91 through 105 (of 130 total)
That was exactly what I needed!
Thank you for the help!!!
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
September 3, 2013 at 10:05 am
It would be either the All States, or the individual States.
Not both parametes.
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
June 20, 2011 at 9:12 am
Thanks, Never used a trigger before.
Didn't think of that.
Learn something new daily!
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
February 9, 2011 at 8:19 am
I figured it out. The original creator, specified a username so that only that person would be able to exit the startup menu.
Remove the code portion that looked for a...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 28, 2010 at 11:35 am
jeff.mason (7/27/2010)
The SELECT @variable = SCOPE_IDENTITY needs to be the very next statement after the insert to ensure you are getting the proper IDENTITY. So before the END.
Gotcha.
Thanks,
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 27, 2010 at 2:24 pm
jeff.mason (7/27/2010)
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 27, 2010 at 2:18 pm
bteraberry (7/27/2010)
brian.cook (7/27/2010)
SELECT TOP 1 [ProjectID]
FROM [BE].[dbo].[2010Projects]
ORDER BY [ProjectID] DESC
That should give me the...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 27, 2010 at 1:43 pm
ColdCoffee (7/27/2010)
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 27, 2010 at 10:50 am
So if I add a subquery to the Select statement that has this;
SELECT TOP 1 [ProjectID]
FROM [BE].[dbo].[2010Projects]
ORDER BY [ProjectID] DESC
That should give me the latest ProjectID...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 27, 2010 at 8:40 am
Matt Miller (#4) (7/22/2010)
brian.cook (7/22/2010)
Matt Miller (#4) (7/22/2010)
Jeff Moden (7/22/2010)
Joe Celko (7/22/2010)
brian.cook (7/22/2010)
Thanks, I knew it would be something simple!
Actually, using the proprietary MONEY is a huge problem. It...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 22, 2010 at 1:34 pm
Matt Miller (#4) (7/22/2010)
Jeff Moden (7/22/2010)
Joe Celko (7/22/2010)
brian.cook (7/22/2010)
Thanks, I knew it would be something simple!
Actually, using the proprietary MONEY is a huge problem. It does not divide or...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 22, 2010 at 1:13 pm
Thanks Dan. I will look it over.
Brian
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 22, 2010 at 12:19 pm
With that said, what would you use?
I inherrited the database from someone else. I am cleaning up what I can, and enhancing where it needs to be.
So, what is...
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 22, 2010 at 12:09 pm
Thanks, I knew it would be something simple!
I appreciate the help. That was the last item I was trying to figure out.
Have a great day!
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 22, 2010 at 8:58 am
Correct. Would I use the same function as in Excel? Or something similar?
Retired Navy Chief Petty Officer, Consulting Systems Engineer, C# Programmer, SQL Beginner
July 22, 2010 at 8:50 am
Viewing 15 posts - 91 through 105 (of 130 total)