Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Need to create tables with different culture

Need to create tables with different culture

Scheduled Pinned Locked Moved Database
databasehelptutorialquestionlounge
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Satish Developer
    wrote on last edited by
    #1

    Hi, I have a requirement that as follows In front end i have a dropdown with options English, Spanish, German, chinese, Japan etc. What ever the language i have selected in dropdown, i need to create a table to store the corressponsindg language data. I am not knowing how to create a table with culture specific? For each language, different table to be created. Can any one help on this? If possible, plz provide code for me. or modify the below code This code is general for creating a table CREATE TABLE [dbo].[Tbl_Names] ( [SeedID] [int] IDENTITY(1,1) NOT NULL, [Indian_First_Names] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Indian_Last_Names] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Gender] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Culture] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ) ON [PRIMARY]

    G. Satish

    M 1 Reply Last reply
    0
    • S Satish Developer

      Hi, I have a requirement that as follows In front end i have a dropdown with options English, Spanish, German, chinese, Japan etc. What ever the language i have selected in dropdown, i need to create a table to store the corressponsindg language data. I am not knowing how to create a table with culture specific? For each language, different table to be created. Can any one help on this? If possible, plz provide code for me. or modify the below code This code is general for creating a table CREATE TABLE [dbo].[Tbl_Names] ( [SeedID] [int] IDENTITY(1,1) NOT NULL, [Indian_First_Names] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Indian_Last_Names] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Gender] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Culture] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ) ON [PRIMARY]

      G. Satish

      M Offline
      M Offline
      mghiassi
      wrote on last edited by
      #2

      you must use two table with foreign key in another table. One table include (SeedID,FirstName,LastName,Gender and CultureID foreign key) and another table include(CultureID PrimeryKey,Culture)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups