Click here to Skip to main content
16,007,111 members
Home / Discussions / Database
   

Database

 
GeneralRe: Selecting 3 columns and merging??? Pin
Blue_Boy29-Apr-08 2:55
Blue_Boy29-Apr-08 2:55 
AnswerRe: Selecting 3 columns and merging??? Pin
Karan_TN29-Apr-08 21:39
Karan_TN29-Apr-08 21:39 
GeneralRe: Selecting 3 columns and merging??? Pin
Blue_Boy29-Apr-08 21:41
Blue_Boy29-Apr-08 21:41 
GeneralRe: Selecting 3 columns and merging??? Pin
Karan_TN1-May-08 22:44
Karan_TN1-May-08 22:44 
GeneralRe: Selecting 3 columns and merging??? Pin
Blue_Boy1-May-08 23:40
Blue_Boy1-May-08 23:40 
QuestionSql Server Security Pin
~V~28-Apr-08 21:25
~V~28-Apr-08 21:25 
GeneralRe: Sql Server Security Pin
Blue_Boy28-Apr-08 21:49
Blue_Boy28-Apr-08 21:49 
GeneralRe: Sql Server Security Pin
GuyThiebaut28-Apr-08 22:28
professionalGuyThiebaut28-Apr-08 22:28 
GeneralRe: Sql Server Security Pin
~V~28-Apr-08 23:16
~V~28-Apr-08 23:16 
GeneralStoring files in a field of type image ??? [modified] Pin
devboycpp28-Apr-08 20:37
devboycpp28-Apr-08 20:37 
GeneralSum the top 2 records Pin
Broken Bokken28-Apr-08 12:30
Broken Bokken28-Apr-08 12:30 
GeneralRe: Sum the top 2 records Pin
Harini N K28-Apr-08 19:48
Harini N K28-Apr-08 19:48 
GeneralRe: Sum the top 2 records Pin
WoutL28-Apr-08 23:24
WoutL28-Apr-08 23:24 
GeneralRe: Sum the top 2 records Pin
Broken Bokken29-Apr-08 2:06
Broken Bokken29-Apr-08 2:06 
QuestionRetrieve an image from Sybase using VB.Net Pin
bodala_venu28-Apr-08 3:25
bodala_venu28-Apr-08 3:25 
GeneralRe: Retrieve an image from Sybase using VB.Net Pin
bodala_venu29-Apr-08 0:13
bodala_venu29-Apr-08 0:13 
QuestionHow to create MSAccess database from a dataset? Pin
Shreyas Ganesh28-Apr-08 2:28
Shreyas Ganesh28-Apr-08 2:28 
AnswerRe: How to create MSAccess database from a dataset? Pin
Blue_Boy28-Apr-08 3:50
Blue_Boy28-Apr-08 3:50 
GeneralRe: How to create MSAccess database from a dataset? Pin
Shreyas Ganesh28-Apr-08 18:21
Shreyas Ganesh28-Apr-08 18:21 
GeneralRe: How to create MSAccess database from a dataset? Pin
Shreyas Ganesh28-Apr-08 18:22
Shreyas Ganesh28-Apr-08 18:22 
GeneralRe: How to create MSAccess database from a dataset? Pin
Blue_Boy28-Apr-08 21:44
Blue_Boy28-Apr-08 21:44 
General(Primary Key problem)How to enter the value ( Sunday to saturday ) with Primary Key Pin
bruze28-Apr-08 1:44
bruze28-Apr-08 1:44 
Can anyone Help

I have Create the weekday table in sql server 2005.

Total three field is there in weekday table.
1)DayOfTheWeek
2)OfficeOpenHours
3)OfficeCloseHours


I have enter the value Sunday to Friday in DayOfTheWeek field.
I have set the primarykey in DayOfTheWeek field.
When i set the primary key its automatically set the value in ascending order format.

Before Set the Primary key in DayOfTheWeek field value
*******************************************************
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday

After Set the Primary key in DayOfTheWeek field value
*****************************************************
Friday
Monday
Saturday
Sunday
Thursday
Tuesday
Wednesday

How to enter the sunady to Saturday value format with primarykey.

USE [checkweekday]
GO
/****** Object: Table [dbo].[weekday] Script Date: 04/28/2008 17:00:33 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[weekday](
[DayOfTheWeek] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[OfficeOpenHours] [char](4) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[OfficeCloseHours] [char](4) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
CONSTRAINT [PK_holiday] PRIMARY KEY CLUSTERED
(
[DayOfTheWeek] ASC
)WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GeneralRe: (Primary Key problem)How to enter the value ( Sunday to saturday ) with Primary Key Pin
Ashfield28-Apr-08 3:40
Ashfield28-Apr-08 3:40 
Questionlink Dbase III file to SQLServer Pin
Behzad Ordubadi27-Apr-08 22:58
professionalBehzad Ordubadi27-Apr-08 22:58 
GeneralNeed help on query Pin
krishnan.s27-Apr-08 19:29
krishnan.s27-Apr-08 19:29 

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.