Click here to Skip to main content
15,891,136 members
Home / Discussions / Database
   

Database

 
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 
GeneralRe: Need help on query [modified] Pin
Ashfield27-Apr-08 20:10
Ashfield27-Apr-08 20:10 
GeneralRe: Need help on query Pin
krishnan.s27-Apr-08 21:09
krishnan.s27-Apr-08 21:09 
GeneralRe: Need help on query Pin
Ashfield27-Apr-08 21:16
Ashfield27-Apr-08 21:16 
GeneralRe: Need help on query Pin
krishnan.s27-Apr-08 21:40
krishnan.s27-Apr-08 21:40 
GeneralRe: Need help on query [modified] Pin
Blue_Boy27-Apr-08 21:49
Blue_Boy27-Apr-08 21:49 
GeneralRe: Need help on query Pin
krishnan.s27-Apr-08 22:18
krishnan.s27-Apr-08 22:18 
GeneralRe: Need help on query Pin
Blue_Boy27-Apr-08 22:31
Blue_Boy27-Apr-08 22:31 
GeneralRe: Need help on query Pin
Marek Grzenkowicz27-Apr-08 23:39
Marek Grzenkowicz27-Apr-08 23:39 
GeneralRe: Need help on query Pin
Blue_Boy27-Apr-08 23:41
Blue_Boy27-Apr-08 23:41 
QuestionWhy is this a syntax error? Pin
MikeMarq27-Apr-08 15:53
MikeMarq27-Apr-08 15:53 
AnswerRe: Why is this a syntax error? Pin
Ashfield27-Apr-08 20:18
Ashfield27-Apr-08 20:18 
AnswerRe: Why is this a syntax error? Pin
Krish - KP27-Apr-08 21:00
Krish - KP27-Apr-08 21:00 
GeneralRe: Why is this a syntax error? Pin
Ashfield27-Apr-08 21:18
Ashfield27-Apr-08 21:18 
Generalbasic question inserting data into a table Pin
MikeMarq27-Apr-08 11:45
MikeMarq27-Apr-08 11:45 

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.