Jump to content

Recommended Posts

Posted

New columns into fact and dimensions table ela include chestaru

Posted

same thread lo veyyi bayya

 

ninna vesavu kada Aa thread lo veyyi

Posted

New columns into fact and dimensions table ela include chestaru

 

orey nanna babu chitti... new columns add cheyadam kuda telikunda ela manage chestunnav office lo..  :3D_Smiles:

comedy ga adugutunnavo serious oo.. ardam kavatle naku

 

 

Fact and Dimensions ante.. avi kuda mamulu tables ee.. andulo unde data tho differential chestharu tables ni.. Dimensions, Fact, aggregates, etc etc ani...

 

so elanti table ki ayna column add cheyadam  same.. 

 

alter table <table name to which u want to add column> add <new column whcih u want to add> <new column's data type with size>;

 

example: ne fact table FCT_SALE_LINE and new column name Customer_code  anuko..

 

alter table FCT_SALE_LINE add CUSTOMER_CODE varchar(50)

 

table names, column names and respective data types with size neku ichina document lone untadi chudu..

 

ilane nuvvu add chesina column malli delete cheyali ante..

alter table FCT_SALE_LINE drop column CUSTOMER_CODE

 

first SQL basic queries baga practice chey.. manager vachi pakkan kurchoni edaina requirement chepthe edo chestunattu manage chese stage lo ayna unde laga prepare avvu.. 

Posted

orey nanna babu chitti... new columns add cheyadam kuda telikunda ela manage chestunnav office lo..  :3D_Smiles:

comedy ga adugutunnavo serious oo.. ardam kavatle naku

 

 

Fact and Dimensions ante.. avi kuda mamulu tables ee.. andulo unde data tho differential chestharu tables ni.. Dimensions, Fact, aggregates, etc etc ani...

 

so elanti table ki ayna column add cheyadam  same.. 

 

alter table <table name to which u want to add column> add <new column whcih u want to add> <new column's data type with size>;

 

example: ne fact table FCT_SALE_LINE and new column name Customer_code  anuko..

 

alter table FCT_SALE_LINE add CUSTOMER_CODE varchar(50)

 

table names, column names and respective data types with size neku ichina document lone untadi chudu..

 

ilane nuvvu add chesina column malli delete cheyali ante..

alter table FCT_SALE_LINE drop column CUSTOMER_CODE

 

first SQL basic queries baga practice chey.. manager vachi pakkan kurchoni edaina requirement chepthe edo chestunattu manage chese stage lo ayna unde laga prepare avvu.. 

bhaiyya silly question e adiganu emo.. kaani first job and okasari keys anaru mali columns anaru,,,, vachina kasta sql kuda marchipoina bench mida undadam vala,,,,, anyways thanks for the answer.

Posted

bhaiyya silly question e adiganu emo.. kaani first job and okasari keys anaru mali columns anaru,,,, vachina kasta sql kuda marchipoina bench mida undadam vala,,,,, anyways thanks for the answer.

 

I'm nt trying blame u bt nuv chala chadukovali.. chaaala.. 

neku ichina KT documents anni baga chaduvu.. appudu me company lo use chese technical terms ki meanings ento ardam avthadi..

requirement ento kuda ardam avvakapothe kashtam..

Posted

I'm nt trying blame u bt nuv chala chadukovali.. chaaala.. 

neku ichina KT documents anni baga chaduvu.. appudu me company lo use chese technical terms ki meanings ento ardam avthadi..

requirement ento kuda ardam avvakapothe kashtam..

ade important task undi bhaiyya.. ardam aitaledu sariga...edo ala ala manage aitundi

Posted

orey nanna babu chitti... new columns add cheyadam kuda telikunda ela manage chestunnav office lo..  :3D_Smiles:

comedy ga adugutunnavo serious oo.. ardam kavatle naku

 

 

Fact and Dimensions ante.. avi kuda mamulu tables ee.. andulo unde data tho differential chestharu tables ni.. Dimensions, Fact, aggregates, etc etc ani...

 

so elanti table ki ayna column add cheyadam  same.. 

 

alter table <table name to which u want to add column> add <new column whcih u want to add> <new column's data type with size>;

 

example: ne fact table FCT_SALE_LINE and new column name Customer_code  anuko..

 

alter table FCT_SALE_LINE add CUSTOMER_CODE varchar(50)

 

table names, column names and respective data types with size neku ichina document lone untadi chudu..

 

ilane nuvvu add chesina column malli delete cheyali ante..

alter table FCT_SALE_LINE drop column CUSTOMER_CODE

 

first SQL basic queries baga practice chey.. manager vachi pakkan kurchoni edaina requirement chepthe edo chestunattu manage chese stage lo ayna unde laga prepare avvu.. 

adding to those above...

1st Dim tables alter cheyyi...next Fact table alter cheyyi...

If ur proj asked to relate dim newly col to fact new col... u have to add some extra options in fact tbl atler command to relate dim tbl

Seems u r using SQL server, so u may be using SQL mgmt studio, where u can graphically add columns instead of queries...

Oracle, Tsql queries differ in some data types and constaints-- just for info

×
×
  • Create New...