14 Topics

Member Avatar for
Member Avatar for Troy III

# Determine if a namespace/variable-name exists # ## Check for namespace existence in your environment variables and objects before writing to them. ## **Guess if "Book1.chapter22.paragraph37" exists without provoking errors and retrieve/send data if it exists with simplest JS expressions.** Call syntax: isNS( [string], [num] ); Example: var nsresult = …

Member Avatar for Troy III
0
305
Member Avatar for hankmeyer

Hi, I have made a script that is supposed to check if an image exists on remote server, check if exists on local server, and decide weither or not to copy the image or not (It is poster images for a movie database of my own). However this is under …

Member Avatar for code739
0
323
Member Avatar for ziyaddinsadigov

I want to check if value is already exists in database with php. But this value can be as for example "John" or "JOHN" or "JOhn" or ... e.t.c how to check for all conditions?

Member Avatar for Atli
0
16K
Member Avatar for while(!success)

Hi guys, I'm still new to .NET and your answers to my questions have been so helpful. I have another question yet again, however. This time my question has to do with sql server and handling it with code behind. I am creating a stored procedure which is supposed to …

Member Avatar for while(!success)
0
2K
Member Avatar for RLS0812_1

I am trying to see if a directory exists, but have not found anything that is working the way is I would like it to. The PHP script is in the same directory as the folders I am checking for ( www ), but will not detect the folders unless …

Member Avatar for diafol
0
3K
Member Avatar for cmstoner

I am developing an sql query to use to grab information from a postgres db. The scenario is as follows: the database I am grabbing information is the backend postgres database of an application (Tableau). My objective is to pull all of the workbooks, views, and datasources (considered objects) that …

Member Avatar for urtrivedi
0
279
Member Avatar for hmartinez

Hi, I am using curl to download files from the internet and it is working fine. The problem is that I am trying to check if the file exists before downloading it. I was thinking that if the file doesn't exist, then I would receive a CURLcode with and error, …

Member Avatar for hmartinez
0
951
Member Avatar for c.pentasuglia

Would anyone happen to know also if there is some predefined swing box for prompting the user to decided whether or not to overwrite an exhisting file? you know the basic "This file already exists, would you like to overwrite it?"

Member Avatar for c.pentasuglia
0
103
Member Avatar for arunkumars

Hi, Am trying to check if a remote directory exists. my string has a path "\\1.1.1.1\XYZ", 1....1 being the IP address of the computer am trying to connect to, But Directory.Exists(stringPath) returns true when I debug the application and the same code returns false from the setup exe. Note : …

Member Avatar for BobS0327
0
211
Member Avatar for vs.vaidyanathan

if not exists (select * from sysobjects where name='amrreconAccountsTB') begin execute "create amrreconAccountsTB(acct_id char(2048) NULL)" end; Message from server 'NOCTREPI04' (Msg 156, Severity 15, State 2): error near the keyword 'end'. Can someone please help me and tell me what is the syntax error here?

0
105
Member Avatar for vs.vaidyanathan

hi, Is there any sql query to check if a table exists already in a database? Thanks in advance.:)

Member Avatar for vs.vaidyanathan
0
623
Member Avatar for ayesha789

HI Dears all I have 2 tables in DB. [LIST=1] [*]Lease_north [*]Lims_payment [/LIST] My first query is [ICODE]Select * from lease_north WHERE LaStartDate like '%-04-%'[/ICODE] its shows 100 result means 100 payments are due and must be paid in April. My second query is[ICODE]Select * from lims_payment WHERE pdate like …

Member Avatar for ayesha789
0
450
Member Avatar for ms_sws

I've tried all manner of methods for accomplishing this and nothing has worked so far. The latest attempt follows. The objective is to call a function that tests for the existence of an image file. If the file exists then that image file is to be displayed. Otherwise, an alternative …

Member Avatar for Airshow
0
5K
Member Avatar for yorro

I have created a very long code on my app for checking if a record exist then insert. Is it possible for a single SQLString to check if records exist then update or insert? Sorta like [CODE] IF NOT EXISTS (SELECT column1 FROM table WHERE column1 = [COLOR="Red"]'sample1'[/COLOR]) THEN (INSERT …

Member Avatar for yorro
-1
488

The End.