如何添加新的行和列到数据库? [英] How can I add new columns and rows to a database?

查看:132
本文介绍了如何添加新的行和列到数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能创造更多的列和数据添加到他们?

到目前为止,我可以添加像这样:

 私有静态最后弦乐INSERT =插入+ TABLE_NAME +(姓名,地址)值(?,?);
 

解决方案

您需要添加列在您的SQL创建表语法 参考此链接 http://www.devx.com/wireless/Article/40842/1954

How can I create more columns and add data to them?

So far I can add like so:

private static final String INSERT="insert into "+ TABLE_NAME +"(name,address)values(?,?)";

解决方案

you need to add column in your SQL create table syntax refer to this link http://www.devx.com/wireless/Article/40842/1954

这篇关于如何添加新的行和列到数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆