Click here to Skip to main content
15,921,646 members
Home / Discussions / Database
   

Database

 
AnswerRe: who is better Pin
Jaime Olivares4-Oct-08 2:09
Jaime Olivares4-Oct-08 2:09 
QuestionBest way to read/write DBF files in .Net ? Pin
Jaime Olivares3-Oct-08 21:03
Jaime Olivares3-Oct-08 21:03 
AnswerRe: Best way to read/write DBF files in .Net ? Pin
Wendelius3-Oct-08 21:28
mentorWendelius3-Oct-08 21:28 
GeneralRe: Best way to read/write DBF files in .Net ? Pin
Jaime Olivares4-Oct-08 2:12
Jaime Olivares4-Oct-08 2:12 
GeneralRe: Best way to read/write DBF files in .Net ? Pin
Wendelius4-Oct-08 4:18
mentorWendelius4-Oct-08 4:18 
GeneralRe: Best way to read/write DBF files in .Net ? Pin
Jaime Olivares4-Oct-08 6:52
Jaime Olivares4-Oct-08 6:52 
QuestionHi , I need all dates of the current month Pin
Sneha Bisht3-Oct-08 19:48
Sneha Bisht3-Oct-08 19:48 
AnswerRe: Hi , I need all dates of the current month Pin
Sneha Bisht3-Oct-08 20:35
Sneha Bisht3-Oct-08 20:35 
Thanx i got it . And the sol is :

declare @current varchar(100)
set @current =(select convert(varchar,getdate(),101))
declare @firstdate varchar(100)
declare @lastdate varchar(100)
set @firstdate=(SELECT convert( varchar,DATEADD(dd,-(DAY(DATEADD(mm,1,@current))-1),DATEADD(mm,0,@current)),101))
set @lastdate=(SELECT convert(varchar, DATEADD(dd, -DAY(DATEADD(m,1,@current)), DATEADD(m,1,@current)),101))
print @firstdate
print @lastdate

declare @i int
declare @k varchar(100)
select @i = datediff(dd,@firstdate,@lastdate)
print @i
declare @j int
set @j=0
while(@j<@i)
begin
select @k = dateadd( dd,1,@firstdate)
print @k
set @firstdate=@k
set @j =@j + 1
end
QuestionAdding duplicate entry [modified] Pin
AghaKhan3-Oct-08 17:14
AghaKhan3-Oct-08 17:14 
AnswerRe: Adding duplicate entry Pin
Wendelius3-Oct-08 21:06
mentorWendelius3-Oct-08 21:06 
GeneralRe: Adding duplicate entry [modified] Pin
AghaKhan4-Oct-08 3:34
AghaKhan4-Oct-08 3:34 
GeneralRe: Adding duplicate entry Pin
Wendelius4-Oct-08 4:21
mentorWendelius4-Oct-08 4:21 
GeneralRe: Adding duplicate entry [modified] Pin
AghaKhan4-Oct-08 5:21
AghaKhan4-Oct-08 5:21 
GeneralRe: Adding duplicate entry Pin
Wendelius4-Oct-08 6:31
mentorWendelius4-Oct-08 6:31 
GeneralRe: Adding duplicate entry Pin
AghaKhan4-Oct-08 8:14
AghaKhan4-Oct-08 8:14 
GeneralRe: Adding duplicate entry Pin
AghaKhan4-Oct-08 8:16
AghaKhan4-Oct-08 8:16 
GeneralRe: Adding duplicate entry Pin
Wendelius4-Oct-08 8:33
mentorWendelius4-Oct-08 8:33 
Questiondelete duplicate rows Pin
ss4444443-Oct-08 7:51
ss4444443-Oct-08 7:51 
AnswerRe: delete duplicate rows Pin
Ashfield3-Oct-08 8:26
Ashfield3-Oct-08 8:26 
AnswerRe: delete duplicate rows Pin
Niraj_Silver3-Oct-08 20:55
Niraj_Silver3-Oct-08 20:55 
GeneralRe: delete duplicate rows Pin
Ashfield5-Oct-08 21:16
Ashfield5-Oct-08 21:16 
AnswerRe: delete duplicate rows Pin
Blue_Boy4-Oct-08 2:56
Blue_Boy4-Oct-08 2:56 
GeneralRe: delete duplicate rows Pin
Ashfield5-Oct-08 21:15
Ashfield5-Oct-08 21:15 
AnswerRe: delete duplicate rows Pin
nelsonpaixao6-Oct-08 15:06
nelsonpaixao6-Oct-08 15:06 
Questionbackup restore Pin
ss4444443-Oct-08 7:49
ss4444443-Oct-08 7:49 

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.