Vielen Dank f�r die Antwort, aber dies scheint das Kommentarzeichen f�r den SQl-Server zu sein und nicht f�r Access. Bsp.: Select * From tbl_Firma Where PIN like 'test' order by Firma -- don't do the rest bringt einen Syntax Error
J�rgen Wehrle schrieb: > hi, > > ich kenne diese M�glichkeit (aus der ms-Hilfe): > > -- (Comment) > Indicates user-provided text. Comments can be inserted on a separate line, nested >(-- only) at the end of a Transact-SQL command line, or within a Transact-SQL >statement. The comment is not evaluated by the server. Two hyphens (--) is the SQL-92 >standard indicator for comments. > > Syntax > -- text_of_comment > > Arguments > text_of_comment > > Is the character string containing the text of the comment. > > Remarks > Use -- for single-line or nested comments. Comments inserted with -- are delimited >by the newline character. > > There is no maximum length for comments. > > Note Including a GO command within a comment generates an error message. > > Examples > This example uses the -- commenting characters. > > -- Choose the pubs database. > USE pubs > -- Choose all columns and all rows from the titles table. > SELECT * > FROM titles > ORDER BY title_id ASC -- We don't have to specify ASC because that > -- is the default. > > -----Urspr�ngliche Nachricht----- > Von: Tobias Jeschke [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 14. Oktober 2002 14:26 > An: ASP Diskussionsliste fuer Anfaenger > Betreff: [aspdebeginners] nochmals hilferuf wg access Kommentar > > Nochmals Hallo zusammen, > > ich arbeite sonst mit CF/Oracle, soll aber gerade einen > Sicherheitscheck f�r ein ASP/Access 2000 Produkt durchf�hren und > ben�tige (f�r Check auf m�gliche SQL-Injection �ber Formularfelder) die > Info, wie man in Access Teile von Sql Statements auskommentiert. Habe > schon stundenlang alle m�glichen Tutorials durchgeschaut, gibt es diese > M�glichkeit in Access �berhaupt ?? > Bin f�r jeden Tip dankbar. > Bislang keine R�ckmeldung und das soll heute noch fertig sein (�chz...) > greetz, > toBy > > -- > Tobias Jeschke > Equinoxe Internet Galerie GmbH > Bismarckallee 9 > 79098 Freiburg > > Tel. 0761-382263 > Fax 0761-382265 > Email: [EMAIL PROTECTED] > > | Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/ > | [aspdebeginners] als [EMAIL PROTECTED] subscribed > | http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv > | Sie knnen sich unter folgender URL an- und abmelden: > | http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp > > | Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/ > | [aspdebeginners] als [EMAIL PROTECTED] subscribed > | http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv > | Sie knnen sich unter folgender URL an- und abmelden: > | http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp -- Tobias Jeschke Equinoxe Internet Galerie GmbH Bismarckallee 9 79098 Freiburg Tel. 0761-382263 Fax 0761-382265 Email: [EMAIL PROTECTED] | Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/ | [aspdebeginners] als [email protected] subscribed | http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv | Sie knnen sich unter folgender URL an- und abmelden: | http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp
