Skip the line

Hi, Ho to comment a line in the Execute query
Like I don’t want to execute the first query. Like we comment in the sql query by //
But to comment here in uipath.

image

@Palaniyappan @Lahiru.Fernando

Hey @balkishan

try this

/* fdkgf */

yah that would work including these
- -
//
/* */

but ensure that the sql statement is placed within double quotes
as you have used single quotes this is showing error
image

Cheers @balkishan

image

Not worked bro?

I want to comment the whole line

image

Not worked bro

1 Like

its a string
so we need to mention it inside double quotes as suggested here
image

Cheers @balkishan

1 Like

Bro, How can we comment the complete line, you have shown in the middle of the line, I want to comment the complete line.

Like "Select * from the Student where S_ID = 10001"

see bro

image

So how can I comment the complete line.

@Lahiru.Fernando

like this
"//Select * from the Student where S_ID = 10001//"
or
image

but if we are trying to comment out the whole statement then wy we need to use that activity itself

Cheers @balkishan

2 Likes

Thanks that what I want :slight_smile:

1 Like

Cheers @balkishan

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.