Article View: chile.comp.programacion
Article #3432Consulta SQL
From: Herrynet
Date: Mon, 17 Jan 2005 22:32
Date: Mon, 17 Jan 2005 22:32
56 lines
2991 bytes
2991 bytes
This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C4FCCB.3D0365D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Salu2 He estado googleando para saber si existe alguna forma de hacer que un = campo al crear una tabla esta sea de auto incremento, al igual como = sucede con mysql pero llevado a sql-server ej: CREATE TABLE prueba (campo1 int not null auto_increment,campo2 text) Esto lo quiero llevar a Sql-server.... Cualquier ayuda se agradece de Antemano ATTe Herrynet ------=_NextPart_000_0014_01C4FCCB.3D0365D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY> <DIV><FONT face=3DArial size=3D2>Salu2</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>He estado googleando para saber si = existe alguna=20 forma de hacer que un campo al crear una tabla esta sea de auto = incremento, al=20 igual como sucede con mysql pero llevado a sql-server</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>ej: CREATE TABLE prueba (campo1 int not = null=20 <STRONG>auto_increment</STRONG>,campo2 text)</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Esto lo quiero llevar a = Sql-server....</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Cualquier ayuda se agradece de=20 Antemano</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>ATTe</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Herrynet</FONT></DIV></BODY></HTML> ------=_NextPart_000_0014_01C4FCCB.3D0365D0--
Technical Details
Message-ID:
<cshee2$9dl$1@news1.nivel5.cl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,820b62b9f5b6ab97,start X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail From: "Herrynet" <herrynet@vtr.net> Newsgroups: chile.comp.programacion Subject: Consulta SQL Date: Mon, 17 Jan 2005 19:32:10 -0300 Organization: Varios Lines: 57 Message-ID: <cshee2$9dl$1@news1.nivel5.cl> NNTP-Posting-Host: 200.104.27.65 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0014_01C4FCCB.3D0365D0" X-Trace: news1.nivel5.cl 1106001155 9653 200.104.27.65 (17 Jan 2005 22:32:35 GMT) X-Complaints-To: news@news1.nivel5.cl NNTP-Posting-Date: Mon, 17 Jan 2005 22:32:35 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180