Viewing 15 posts - 511 through 525 (of 3,221 total)
Nice question .. learned something from it THANKS
April 17, 2012 at 8:25 pm
I have SQL 2008 R2 and Denali CTP 3 installed on my lap top, the only problem I have is remembering which SSMS icon to click on to start doing...
April 15, 2012 at 5:14 pm
Assuming that your procedure creates a temp table using # (a local temp table) and NOT ## (a global temp table)
Run your procedure simultaneously by different users. Then execute...
April 15, 2012 at 5:08 pm
Revenant (4/14/2012)
Steve Jones - SSC Editor (4/13/2012)
Evil Kraig F (4/13/2012)
Some days, this helps:
4 bit
Or this (my drink of choice tonight)
The image does not display in my IE9. Or was...
April 14, 2012 at 5:52 pm
Something like this might be what you require
CREATE Table #UserAccount(UserName varchar(50),uPassword varchar(50)
,FirstName varchar(50),Surname varchar(50),Email varchar(75)
,ExamTaken bit,AccountType int,LastLogin datetime)
INSERT INTO #UserAccount
SELECT 'M123','whoknows','Sam','Johnson','Me@Gmail.com',0,87,GETDATE() UNION ALL
SELECT 'Sal789','sheknows','Jamie','Smith','Metwo@Gmail.com',1,7,GETDATE()
CREATE PROCEDURE [dbo].[GetUserDetails]
...
April 14, 2012 at 4:52 pm
What exactly is your problem as this works for me(Note the extra row of data which does NOT match what you posted):
CREATE TABLE #T(Col1 DATETIME,Col2 INT IDENTITY(1,1))
INSERT INTO #T
SELECT '2012-05-01...
April 14, 2012 at 5:32 am
To help those who want to help you with a tested solution, please post table definition(s), sample data and your T-SQL statement.
To do the above quickly and easily please click...
April 12, 2012 at 11:24 am
You can help those who wish to help you by posting the table definition, sample input data and desired results. To do this quickly and easily please click on...
April 11, 2012 at 6:24 am
I don't have a solution worked out, but I know there are some very smart security people out there and I'd hope that they are working on a variety of...
April 10, 2012 at 8:52 pm
Here is a method, probably not the most efficient but it works for me
CREATE TABLE #C(Num INT,Nam VARCHAR(5))
INSERT INTO #c
SELECT COUNT(Cola),'Cola' FROM #Nepal WHERE UNICODE(Cola) > 127 UNION ALL
SELECT COUNT(Colb),'Colb'...
April 10, 2012 at 12:05 pm
Why stop at 2008 ... visit this Microsoft site
http://www.microsoft.com/sqlserver/en/us/editions/express.aspx
Compare features with needs ... and one great feature it is FREE
April 10, 2012 at 9:51 am
If I understand your question, you must first determine what collation, and code page you are using, In my case the collation is:
SELECT SERVERPROPERTY ( 'collation' ) -- Result:...
April 10, 2012 at 7:09 am
Not as easy as I thought it would be:
Incorrect answers: 25% (91)
Total attempts: 363
Since one of the major objectives of the QOD is to...
April 10, 2012 at 5:52 am
Viewing 15 posts - 511 through 525 (of 3,221 total)