Click here to Skip to main content
15,904,935 members
Home / Discussions / Database
   

Database

 
GeneralGrid sorting wont work on live server (Godaddy) [modified] Pin
AlexeiXX317-Apr-08 5:42
AlexeiXX317-Apr-08 5:42 
Questionhow to change the date 5 th dec 2008 to default date in sqlserver2000? Pin
subbu.sk17-Apr-08 3:59
subbu.sk17-Apr-08 3:59 
AnswerRe: how to change the date 5 th dec 2008 to default date in sqlserver2000? [modified] Pin
Blue_Boy17-Apr-08 15:59
Blue_Boy17-Apr-08 15:59 
GeneralRe: how to change the date 5 th dec 2008 to default date in sqlserver2000? Pin
subbu.sk17-Apr-08 20:03
subbu.sk17-Apr-08 20:03 
GeneralINSERT trigger - how to stop the insert from happening. Pin
Paddy Boyd17-Apr-08 3:53
Paddy Boyd17-Apr-08 3:53 
GeneralRe: INSERT trigger - how to stop the insert from happening. Pin
Werries17-Apr-08 9:56
Werries17-Apr-08 9:56 
GeneralRe: INSERT trigger - how to stop the insert from happening. Pin
SimulationofSai17-Apr-08 21:22
SimulationofSai17-Apr-08 21:22 
GeneralSystem.Data.OleDb.OleDbException: Unspecified error Pin
tom8317-Apr-08 3:35
tom8317-Apr-08 3:35 
GeneralRe: System.Data.OleDb.OleDbException: Unspecified error Pin
Kschuler17-Apr-08 10:37
Kschuler17-Apr-08 10:37 
Generalline 18 is getting error near ''this codes(mysql) Pin
srinivassam17-Apr-08 0:53
srinivassam17-Apr-08 0:53 
GeneralRe: line 18 is getting error near ''this codes(mysql) Pin
R. Giskard Reventlov17-Apr-08 1:16
R. Giskard Reventlov17-Apr-08 1:16 
GeneralCopy from one table into another Pin
.NET- India 17-Apr-08 0:52
.NET- India 17-Apr-08 0:52 
GeneralRe: Copy from one table into another Pin
pmarfleet17-Apr-08 1:57
pmarfleet17-Apr-08 1:57 
GeneralRe: Copy from one table into another Pin
SimulationofSai17-Apr-08 3:04
SimulationofSai17-Apr-08 3:04 
Generalmysql provider problem Pin
srinivassam17-Apr-08 0:28
srinivassam17-Apr-08 0:28 
GeneralERROR:40 Pin
A-MEN16-Apr-08 22:02
A-MEN16-Apr-08 22:02 
GeneralRe: ERROR:40 Pin
R. Giskard Reventlov16-Apr-08 23:36
R. Giskard Reventlov16-Apr-08 23:36 
GeneralConvert date formate 4th april 2008 to default date formate Pin
subbu.sk16-Apr-08 21:47
subbu.sk16-Apr-08 21:47 
GeneralRe: Convert date formate 4th april 2008 to default date formate Pin
pmarfleet16-Apr-08 22:18
pmarfleet16-Apr-08 22:18 
GeneralRe: Convert date formate 4th april 2008 to default date formate Pin
subbu.sk16-Apr-08 22:37
subbu.sk16-Apr-08 22:37 
GeneralRe: Convert date formate 4th april 2008 to default date formate Pin
subbu.sk16-Apr-08 22:37
subbu.sk16-Apr-08 22:37 
GeneralRe: Convert date formate 4th april 2008 to default date formate Pin
subbu.sk16-Apr-08 22:37
subbu.sk16-Apr-08 22:37 
hi paul...
thank u for ur response .but i found answer for every formate....


but i need to convert dates like o4 th july 2005 or
3rd august 1997
31st december 2000
22nd july 1997....i.e th,nd,rd,....

to default formate..... 04/07/2005,
03/08/1997

helpe with a function.....
i am trying this ,but it convert without th,rd,nd,...

if not (@Date IS NULL)
BEGIN
SET @Date = LEFT(@strPhotoDate,patindex('%|%',@strPhotoDate )-1)
SET @Date = replace(@strPhotoDate,'th','')
SET @Date = replace(@strPhotoDate,'nd','')
SET @Date = replace(@strPhotoDate,'rd','')
SET @Date = replace(@strPhotoDate,'st','')
SET @Date = replace(@strPhotoDate,',','')
set @Date1 = CONVERT(datetime, @Date)
--cast(@Date1 as DATETIME)
END
END

like that...

thanks in advance

Thanks
Subbu.

GeneralRe: Convert date formate 4th april 2008 to default date formate Pin
Paddy Boyd16-Apr-08 23:23
Paddy Boyd16-Apr-08 23:23 
GeneralView verses Table-Values Function Pin
Werries16-Apr-08 19:53
Werries16-Apr-08 19:53 
GeneralRe: View verses Table-Values Function Pin
Ashfield16-Apr-08 21:03
Ashfield16-Apr-08 21:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.