Click here to Skip to main content
15,899,679 members
Home / Discussions / Database
   

Database

 
GeneralRe: Need a Sql query Pin
Corporal Agarn6-Apr-11 6:52
professionalCorporal Agarn6-Apr-11 6:52 
GeneralRe: Need a Sql query Pin
thatraja6-Apr-11 7:58
professionalthatraja6-Apr-11 7:58 
Questioni need help plz Pin
ace3005-Apr-11 6:33
ace3005-Apr-11 6:33 
AnswerRe: i need help plz Pin
Chris Meech5-Apr-11 6:44
Chris Meech5-Apr-11 6:44 
AnswerRe: i need help plz Pin
Om Prakash Pant5-Apr-11 20:31
Om Prakash Pant5-Apr-11 20:31 
QuestionRecords with default values Pin
CodingLover5-Apr-11 0:36
CodingLover5-Apr-11 0:36 
AnswerRe: Records with default values Pin
Wendelius5-Apr-11 2:36
mentorWendelius5-Apr-11 2:36 
QuestionRe: Records with default values Pin
CodingLover5-Apr-11 17:48
CodingLover5-Apr-11 17:48 
Thanks for the comment.

Should I do with a temporary table or create a table in the database permanently? I've tried the following.

CREATE TEMPORARY TABLE date_col (add_dates nvarchar(50));
INSERT INTO date_col (add_dates) VALUES('2011-04-06');
SELECT * FROM date_col;


But stuck with two things.

1. How can I loop the date range and add all the dates into the table
2. I think to be in safe side I want to drop the table after the query required data, isn't it?
I appreciate your help all the time...
CodingLover Smile | :)

AnswerRe: Records with default values Pin
Wendelius5-Apr-11 17:59
mentorWendelius5-Apr-11 17:59 
NewsRe: Records with default values Pin
CodingLover5-Apr-11 18:40
CodingLover5-Apr-11 18:40 
AnswerRe: Records with default values Pin
Wendelius5-Apr-11 18:46
mentorWendelius5-Apr-11 18:46 
GeneralRe: Records with default values Pin
CodingLover5-Apr-11 18:55
CodingLover5-Apr-11 18:55 
GeneralRe: Records with default values Pin
Wendelius5-Apr-11 19:04
mentorWendelius5-Apr-11 19:04 
GeneralRe: Records with default values Pin
CodingLover5-Apr-11 22:14
CodingLover5-Apr-11 22:14 
AnswerRe: Records with default values Pin
Shameel5-Apr-11 5:22
professionalShameel5-Apr-11 5:22 
GeneralRe: Records with default values Pin
CodingLover5-Apr-11 17:53
CodingLover5-Apr-11 17:53 
AnswerRe: Records with default values Pin
jschell6-Apr-11 8:30
jschell6-Apr-11 8:30 
AnswerRe: Records with default values Pin
SilimSayo4-May-11 10:30
SilimSayo4-May-11 10:30 
QuestionRealtime Backups Pin
Lasanthapw4-Apr-11 20:14
Lasanthapw4-Apr-11 20:14 
AnswerRe: Realtime Backups Pin
Wendelius4-Apr-11 20:50
mentorWendelius4-Apr-11 20:50 
AnswerRe: Realtime Backups Pin
Mycroft Holmes4-Apr-11 22:21
professionalMycroft Holmes4-Apr-11 22:21 
GeneralRe: Realtime Backups Pin
Wendelius5-Apr-11 6:03
mentorWendelius5-Apr-11 6:03 
QuestionSchema ideas Pin
Super Lloyd4-Apr-11 17:58
Super Lloyd4-Apr-11 17:58 
AnswerRe: Schema ideas Pin
Wendelius4-Apr-11 18:50
mentorWendelius4-Apr-11 18:50 
GeneralRe: Schema ideas Pin
Super Lloyd4-Apr-11 18:56
Super Lloyd4-Apr-11 18:56 

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.