TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Hari B
NA
139
68.2k
Stored procedure
Jun 15 2018 8:45 AM
Table consists 100 records. table have two fields like x and y. in x field 4 values like (A,B,C,D) Here values are not static dynamic may change in another record
Need to fill Y field like (Hi,Hi,Hi,Hi)
i can have code in c# need MySql Code
for ( int i = 0 ; i < 100 ; i++) //table records count
{
int count = X.count; // X field values count
for ( count = 0 ; count < count.length ; count++) // values count in field
{
Update table.y = "HI,Hi,Hi,Hi" ;
}
}
Reply
Answers (
4
)
duplicate record in one to many relationship
Multiple row Subtraction form a single table in SQL