Viewing 15 posts - 4,891 through 4,905 (of 7,187 total)
You can't make direct updates to system tables from 2005 onwards. Use ALTER LOGIN instead.
See here:
http://technet.microsoft.com/en-us/library/ms189631.aspx
John
December 1, 2011 at 8:48 am
Assuming the drawing numbers in the small table are unique, just do a SELECT DISTINCT.
I'm afraid that if you don't have INSERT statements, we can't provide you with a tested...
December 1, 2011 at 3:29 am
Please will you provide full DDL in the form of CREATE TABLE statements, and sample data in the form of INSERT statements. A table is an unordered set, so...
December 1, 2011 at 2:03 am
First of all, your Drawing number column is char(6), and yet the values in the second table are longer than six characters. Please provide some real sample data in...
December 1, 2011 at 1:45 am
Jeff, I don't think that's what Vijay was asking for. Your solution splits the scores into four evenly-sized groups. The requirement was for the scores to be split...
December 1, 2011 at 1:31 am
Depends what your Itemstock stored procedure does. You may need to rewrite that as well.
John
November 30, 2011 at 8:48 am
This sounds like a "gaps and islands" problem. Have a look at this - does it help?
John
November 30, 2011 at 3:52 am
One way is to use a CASE expression, something like this:
Declare @TestScores table (StudentID int identity(1,1), Score int)
DECLARE @Highscore decimal(4,2)
insert @TestScores (Score) Values (20)
insert @TestScores (Score) Values (03)
insert...
November 30, 2011 at 3:46 am
You don't need to assign permissions on the underlying tables and views. This is one great advantage of developing your application so that all access is through stored procedures...
November 30, 2011 at 3:18 am
You really need to find out what RDBMS you're using. It sounds like it's MySQL, in which case you may not find anyone here who can help - this...
November 29, 2011 at 1:52 am
Now I'm confused, because your latest query contains a column (Project Number) that wasn't in the sample data you posted. This is why it's important for you to provide...
November 29, 2011 at 1:45 am
You have more than one value of Cost in Market_Prices_Haulage_Rate for each value of HaulageRate in @tmpOutput - that's what it's saying. Which one do you want to use...
November 28, 2011 at 8:42 am
You just need to qualify your Drawing Number column in the GROUP BY clause by putting the table name in front of it, in the same way as you did...
November 28, 2011 at 4:33 am
Does select * from [sheet name$A6:A6] not work? If not, could you select * from [sheet name$A6:B6] and only use the value in the first column?
John
November 28, 2011 at 3:34 am
Still need DDL, sample data in the form of INSERT statements and expected output. Here's a hint: use GROUP BY in the way that I suggested. If it...
November 28, 2011 at 1:17 am
Viewing 15 posts - 4,891 through 4,905 (of 7,187 total)