Click here to Skip to main content
15,923,087 members
Home / Discussions / Database
   

Database

 
GeneralRe: i ned help soon please Pin
airbus38031-Aug-05 11:48
airbus38031-Aug-05 11:48 
QuestionSQL Server 2005 ADO.NET 2.0 table creation Pin
Ricebot31-Aug-05 8:48
Ricebot31-Aug-05 8:48 
QuestionHelp Me on this query! Pin
arashrajaei31-Aug-05 7:24
professionalarashrajaei31-Aug-05 7:24 
AnswerRe: Help Me on this query! Pin
softty31-Aug-05 8:38
softty31-Aug-05 8:38 
AnswerRe: Help Me on this query! Pin
Mandar Patankar31-Aug-05 8:39
Mandar Patankar31-Aug-05 8:39 
AnswerRe: Help Me on this query! Pin
airbus38031-Aug-05 10:15
airbus38031-Aug-05 10:15 
AnswerRe: Help Me on this query! Pin
arashrajaei1-Sep-05 4:13
professionalarashrajaei1-Sep-05 4:13 
GeneralRe: Help Me on this query! Pin
airbus3801-Sep-05 12:11
airbus3801-Sep-05 12:11 
First) If in Tools menu > Options > Tables/Queries > Is not checked "SQL Server (ANSI 92) Compatible syntax - This database" (which is IMPLICIT option in Access)
then NVARCHAR is not recognise by Access. Instead you must use Text data type.

Solution: query must be rewrite thus:
CREATE TABLE [1384/6] <br />
(<br />
OrderTable int NOT NULL ,<br />
OrderNo int NOT NULL,<br />
OrderTypeIDn text(20) NOT NULL, <br />
Report text(254) NOT NULL,<br />
Receptionist text(50) NOT NULL ,<br />
Cashier text(254) NOT NULL,<br />
Day text(15) NOT NULL,<br />
TimeInstant text(15) NOT NULL,<br />
Description text(254) <br />
)<br />


Second) If in Tools menu > Options > Tables/Queries > Is checked "SQL Server (ANSI 92) Compatible syntax - This database" then NVARCHAR is now recognise by Access
but the problem is "Day" field name wich is reserved word because is the name of DAY function from SQL Server - DAY(date) return a integer representing number of day (between 1 and 31)

Solution:
<br />
CREATE TABLE [1384/6] <br />
(<br />
OrderTable int NOT NULL ,<br />
OrderNo int NOT NULL,<br />
OrderTypeIDn nvarchar(20) NOT NULL,<br />
Report nvarchar(254) NOT NULL,<br />
Receptionist nvarchar(50) NOT NULL ,<br />
Cashier nvarchar(254) NOT NULL,<br />
DayField nvarchar(15) NOT NULL,<br />
TimeInstant nvarchar(15) NOT NULL,<br />
Description nvarchar(254) <br />
)<br />


Ok ?

---
object oriented
uml oriented
iconix oriented
sql oriented
truespace oriented
---
solitare oriented Smile | :)
Questionpls help on a sql query Pin
xcavin30-Aug-05 23:38
xcavin30-Aug-05 23:38 
AnswerRe: pls help on a sql query Pin
Colin Angus Mackay31-Aug-05 1:32
Colin Angus Mackay31-Aug-05 1:32 
GeneralRe: pls help on a sql query Pin
xcavin31-Aug-05 1:54
xcavin31-Aug-05 1:54 
QuestionRe: pls help on a sql query Pin
toxcct31-Aug-05 5:28
toxcct31-Aug-05 5:28 
AnswerRe: pls help on a sql query Pin
Colin Angus Mackay31-Aug-05 8:21
Colin Angus Mackay31-Aug-05 8:21 
Questionstoring image to Database Pin
Ajith.P.T30-Aug-05 2:34
Ajith.P.T30-Aug-05 2:34 
AnswerRe: storing image to Database Pin
toxcct30-Aug-05 4:05
toxcct30-Aug-05 4:05 
GeneralRe: storing image to Database Pin
thealca30-Aug-05 14:35
thealca30-Aug-05 14:35 
GeneralRe: storing image to Database Pin
toxcct31-Aug-05 21:31
toxcct31-Aug-05 21:31 
GeneralRe: storing image to Database Pin
Anonymous1-Sep-05 16:42
Anonymous1-Sep-05 16:42 
GeneralRe: storing image to Database Pin
toxcct1-Sep-05 21:12
toxcct1-Sep-05 21:12 
GeneralRe: storing image to Database Pin
chuotcoikeo31-Aug-05 17:26
chuotcoikeo31-Aug-05 17:26 
GeneralRe: storing image to Database Pin
toxcct31-Aug-05 21:29
toxcct31-Aug-05 21:29 
QuestionNHibernate one-many inverse=true Pin
devvvy29-Aug-05 22:03
devvvy29-Aug-05 22:03 
QuestionHow to connect Sql DB and Oracle DB? Pin
NinaWilliam29-Aug-05 19:53
NinaWilliam29-Aug-05 19:53 
AnswerRe: How to connect Sql DB and Oracle DB? Pin
Frank Kerrigan30-Aug-05 22:21
Frank Kerrigan30-Aug-05 22:21 
GeneralRe: How to connect Sql DB and Oracle DB? Pin
NinaWilliam12-Sep-05 19:38
NinaWilliam12-Sep-05 19:38 

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.