Viewing 15 posts - 4,891 through 4,905 (of 7,191 total)
No, datetime values are not stored in any format - just as two integers, like Lowell said. You can use varchar to store dates in any format you like,...
December 6, 2011 at 4:15 am
Yes, I don't see why that shouldn't work.
John
December 2, 2011 at 3:29 am
Like I said, it's pseudo code, so you'll need to check the exact syntax of ALTER LOGIN and the structure of server_principals to see what the column names and the...
December 1, 2011 at 9:04 am
The only way I know for existing logins is to execute the ALTER LOGIN statements one by one. You can generate them very easily something like this (pseudo code...
December 1, 2011 at 8:56 am
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
Viewing 15 posts - 4,891 through 4,905 (of 7,191 total)