Viewing 15 posts - 8,671 through 8,685 (of 13,882 total)
February 23, 2015 at 11:26 am
Luis Cazares (2/23/2015)
You need to use the TO_CHAR() function to format dates and TO_DATE()...
February 23, 2015 at 7:30 am
SQL_Kills (2/23/2015)
NULL
*CORRECT*
***FAILED***
'' (Empty)
Then it does not meet the condition so It will not get passed...
February 23, 2015 at 3:03 am
A quick reformat may help
ISNULL(KeyRef) ? FALSE :
(KeyRef == "*CORRECT*" ? FALSE :
(KeyRef == "***FAILED***" ? FALSE :
(KeyRef == "" ?...
February 23, 2015 at 2:36 am
sk88 (2/22/2015)
I thought its related to SQL so I came here 😀 hahah sorry. I will post in the Oracle forum.Thanksss!!
That would be fine, if all dialects of SQL were...
February 22, 2015 at 11:44 am
sk88 (2/22/2015)
Yes you are right. I am using Oracle
You're in the wrong forum, I'm afraid: this one is for SQL Server 🙂
February 22, 2015 at 11:34 am
Here's one way. Not sure if there's anything more elegant.
declare @d date = '20081221'
select @d
,replace(convert(char(11), @d, 13), ' ', '/')
And presumably you...
February 22, 2015 at 11:18 am
Sridhar-137443 (2/19/2015)
Company, Empno, Level1, Level2, Level3,...
February 19, 2015 at 8:22 am
If the database file has been corrupted and you have no backups, and no one has scripted out the procs you are talking about (check with the developers), I am...
February 19, 2015 at 1:20 am
A side point. Char(50) is probably not the optimal datatype to use here, as your names have varying lengths. I would recommend that you switch to Varchar(50) to save space.
February 19, 2015 at 12:46 am
luhar.mitul (2/19/2015)
WE TRIED TO RESTORE DATABASE FROM "SQL SERVER MANAGEMENT STUDIO (SSMS) 2012".
NO NEED TO SHOUT.
Once again, if your database is under source control, you can retrieve the definitions there...
February 19, 2015 at 12:44 am
In my experience, developers do not have the same big-picture view of server health and performance that DBAs have (and need to have to do their work). Seasoned DBAs know...
February 18, 2015 at 10:18 am
Bizarre. Haven't used Ignore_dup_key for a while, but this looks wrong to me.
February 18, 2015 at 5:36 am
Viewing 15 posts - 8,671 through 8,685 (of 13,882 total)