Viewing 15 posts - 4,966 through 4,980 (of 15,381 total)
Eirikur Eiriksson (5/7/2014)
Sean Lange (5/7/2014)
Eirikur Eiriksson (5/7/2014)
george sibbald (5/7/2014)
river1 (5/7/2014)
I would like to know in with date did a SQL Server 2005 instance was installed on a server.
Can I know...
May 7, 2014 at 2:09 pm
Informer30 (5/7/2014)
hi sean,i always need the day to be 01
Yeah that is exactly what my first post does. 😉
May 7, 2014 at 1:53 pm
SQL Guy 1 (5/7/2014)
SELECT YEAR(GETDATE())*10000 + MONTH(GETDATE())*100 + DAY(GETDATE())
You could just use convert on GETDATE() to accomplish this. 😉
select CONVERT(varchar, getdate(), 112)
May 7, 2014 at 1:41 pm
Here is another way.
select CONVERT(varchar, dateadd(mm, datediff(mm, 0, GETDATE()), 0), 112)
May 7, 2014 at 1:38 pm
table: ut_Password
columns:
playerid (FK, int, not null)
password (nchar(10), not null)
PasswordDate (datetime)
I understand about what I should do, but I could not take it inspiring example, if a similar script ready I...
May 7, 2014 at 1:32 pm
computer24hr (5/7/2014)
I know it's a problem that is not encrypted, but ultimately will table encryption.
No offense intended but it isn't a problem. It is border line criminal. It is just...
May 7, 2014 at 1:25 pm
computer24hr (5/7/2014)
Password, it should be unique to each user name.
Why can't more than one user have the same password? So what happens if a different user enters somebody else's...
May 7, 2014 at 1:01 pm
daniel.harper (5/7/2014)
Thank you...we got it working.
Can you share your solution so that others may benefit from your hard work? People will find this thread in the future and will be...
May 7, 2014 at 12:35 pm
michelle.malone (5/7/2014)
this would be oracle sql
This site is dedicated to SQL Server. There is an Oracle section. You might find some luck there. You may find that you have better...
May 7, 2014 at 12:34 pm
computer24hr (5/7/2014)
I have a table of users including: UserName, Password (comuted col), FirstName, LastName, Address and other details....
I have to keep 10 Recent passwords , so I created another table...
May 7, 2014 at 12:30 pm
gbritton1 (5/7/2014)
Sean Lange (5/7/2014)
gbritton1 (5/7/2014)
Sean Lange (5/7/2014)
SELECT [Columns]
FROM Test1 T1
INNER JOIN Test2 T2 ON T1.ID = T2.ID
WHERE CASE @p_flag
WHEN 1 THEN moveFlag = 26
ELSE moveFlag > 26 OR...
May 7, 2014 at 10:46 am
Eirikur Eiriksson (5/7/2014)
My memory playing tricks on me:-PThanks Sean!
😎
I lost my memory long ago...thank {insert your supreme being here} for BOL. 😀
May 7, 2014 at 10:44 am
Eirikur Eiriksson (5/7/2014)
george sibbald (5/7/2014)
river1 (5/7/2014)
Hi,I would like to know in with date did a SQL Server 2005 instance was installed on a server.
Can I know This using t-sql?
from glenn...
May 7, 2014 at 10:24 am
Agreed with the previous poster. There does not appear to be any issue here. The aliases in here are the same in each query and reference different objects but these...
May 7, 2014 at 10:21 am
gbritton1 (5/7/2014)
Sean Lange (5/7/2014)
SELECT [Columns]
FROM Test1 T1
INNER JOIN Test2 T2 ON T1.ID = T2.ID
WHERE CASE @p_flag
WHEN 1 THEN moveFlag = 26
ELSE moveFlag > 26 OR moveFlag < 26
END...
May 7, 2014 at 10:08 am
Viewing 15 posts - 4,966 through 4,980 (of 15,381 total)