Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qHAKb-0005TE-Pd for pgsql-admin@arkaria.postgresql.org; Wed, 05 Jul 2023 21:46:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qHAKZ-0001EA-H4 for pgsql-admin@arkaria.postgresql.org; Wed, 05 Jul 2023 21:46:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qHAKY-0001E1-Sc for pgsql-admin@lists.postgresql.org; Wed, 05 Jul 2023 21:46:35 +0000 Received: from mout-u-107.mailbox.org ([2001:67c:2050:101:465::107]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qHAKV-002EqE-Oe for pgsql-admin@lists.postgresql.org; Wed, 05 Jul 2023 21:46:33 +0000 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4QxCsb2rybz9sTk; Wed, 5 Jul 2023 23:46:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ewie.name; s=MBO0001; t=1688593587; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0OoKSQrHkHpPCdQ1XarehyGNVTItKg4SOm2EKQVrj2M=; b=wCmBq8lKYYoLthO5/1tZevoNwmoI5stbtngv4XNlLpAwi2+938Seicr28KHRaqHLCzocwU hYvVsmoTbBih7o/6fxNukPVAiQqqitKmbwL6pGFIOcln+IyGEFZ44oMMMEKEGP8OW1LOQ2 x68nBWK1uMEzL/pLAqhqL/zcq1q1rFbZVi+F9Www5N5WqAomMMP64eGQKnFhlHlJMJoJ4V IIVPxOMZob6lPrGNBprzxguNv21V+KZkedlPi8SwLC98wAUHrj6/HoBMVxhLdLr+VLK2wo oS6rwf7oYVVq9ndM+Pj4BzhUbKAmsijNoO8h9AAivSqDn4gyuXP32x/yOVNfag== Date: Wed, 5 Jul 2023 23:46:26 +0200 (CEST) From: Erik Wienhold To: M Sarwar , "pgsql-admin@lists.postgresql.org" Message-ID: <1358455621.855150.1688593586940@office.mailbox.org> In-Reply-To: References: <1539000886.854641.1688592359041@office.mailbox.org> Subject: Re: SQL is fetching results BLANK checks but the data has no BLANKS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 4QxCsb2rybz9sTk List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 05/07/2023 23:34 CEST M Sarwar wrote: > > Table has no indexes so far. Do you get the same results when using LIKE instead? SELECT test_number FROM bronx.test_test_details_all_mcm WHERE test_description LIKE ' %' -- Erik