Naše značky

Impact-Company-Logo-English Black-01-177x54

Vitajte na webovej lokalite spoločnosti Schneider Electric

Vitajte na našej webstránke.
		
Ako vám dnes môžeme pomôcť?
How to send a SQL statement longer than 1024 characters with EcoStruxure Machine SCADA Expert?
In EcoStruxure Machine SCADA Expert, the function DBExecute can be used to write some data in SQL Database.
There is a limitation with this function. The maximum length of an SQL statement 1024 characters.
The goal of this article is to explain how to send more than 1024 characters in the SQL Databse, with the function DBExecute

This article is applicable for EcoStruxure Machine SCADA Expert, all version

To execute SQL commands longer than 1024 characters with DBExecute() or DBCursorOpenSQL(), need to break the SQL statement into fragments, storing those fragments in string tags, and then using tag pointers to reference those tags.
For example:
$SQL1 = "first 1000 chars"
$SQL2 = "second 1000 chars"
$DBExecute("ConnName", "{SQL1}{SQL2}")

Schneider Electric Slovakia

Objavte viac
Rad:
Objavte viac
Rad:

Potrebujete pomoc?

  • Výber produktov

    Rýchlo a jednoducho nájdite tie správne produkty a príslušenstvo pre vaše aplikácie.

  • Získať ponuku

    Kontaktujte nás online a náš odborník sa s vami spojí.

  • Kde nakúpiť?

    Jednoducho nájdite najbližšieho distribútora produktov Schneider Electric vo vašom okolí.

  • Centrum podpory

    Nájdite zdroje podpory pre všetky vaše potreby na jednom mieste.

  • Produktová dokumentácia
  • Prevzatia softvéru
  • Nástroj pre výber produktov
  • Nahradenie a výmena produktu
  • Centrum nápovedy
  • Nájdite naše pobočky
  • Kde kúpiť
  • Kariéra
  • Profil spoločnosti
  • Nahlásiť pochybenie
  • Dostupnosť
  • Redakcia
  • Investori
  • EcoStruxure
  • Vyhľadať pracovné miesta
  • Blog
  • Zásady ochrany osobných údajov
  • Upozornenie o súboroch cookie
  • Zmluvné podmienky
  • Zmeniť nastavenia cookie