Solved

Syntax to sp_addlanguage

Posted on 1998-02-20
4
1,148 Views
Last Modified: 2008-02-01
I need the full syntax to sp_addlanguage for Swedish or just a syntaxexample.
0
Comment
Question by:tsp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 2

Expert Comment

by:Jim_SQL
ID: 1090333
Hi,

I can't find anything on sp_addlanguage (I use MS SQL Server 6.5) ... but that doesn't mean it doesn't exist. But if you do a query in books on line for "Adding a Language" they give step by step instructions.

(Hope this helped.)
Jim
0
 
LVL 1

Accepted Solution

by:
sivabalan earned 20 total points
ID: 1090334
Hi,
The syntax for sp_addlanguage will look something like this..
sp_addlanguage
language (sysname ),
alias(sysname) ,
months (varchar(372)),
shortmons(varchar(132)) ,
days(varchar(217)) ,
datefmt(char(3)) ,
datefirst(tinyint)

where
language = Official language name (for example, français).
alias= Alternate language name (for example, french).
months= Comma-separated list of full-length month names, in order from January through December, with each name containing as many as 20 characters.
shortmons= Comma-separated list of short-month names, in order from January through December, with each name containing as many as 9 characters.
days= Comma-separated list of day names, in order from Monday through Sunday, with each name containing as many as 30 characters.
datefmt=       Date order (for example, DMY).
datefirst=       First day of the week: 1 for Monday, 2 for Tuesday, and so on through 7 for Sunday.

Hope this helps...



0
 

Author Comment

by:tsp
ID: 1090335
Thanks alot for an excellent solution.
0
 

Author Comment

by:tsp
ID: 1090336
Thanks alot for an excellent solution.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question