Viewing 15 posts - 16 through 30 (of 69 total)
Hi,
It seems you should make use of in-built function String_split .
Thanks.
January 8, 2019 at 9:50 am
Also, is the IP stored as below?
"192.168.13.12" -> "192168013012"
If that is the case, we can make use of SUBSTRING function to extract that.
November 11, 2018 at 12:34 pm
Hi,
Does converting to unsigned int prior to converting to Bigint solve your problem as shown below?
SELECT
ACCESSPANE.NAME AS IC_Panel_Name,
ACCESSPANE.ADDRESS AS IC_Panel_Address,...
November 11, 2018 at 12:33 pm
Hi,
What error you are getting if you try this?
SELECT
ACCESSPANE.NAME AS IC_Panel_Name,
ACCESSPANE.ADDRESS AS IC_Panel_Address,
PANELTYPE.NAME AS IC_Panel_Type,
READER.READERDESC...
November 11, 2018 at 12:02 pm
Hi Daniel,
I am sorry, I missed a crucial condition while fetching the StartDate and EndDate in the loop. Please change the following lines with the where clause:
November 7, 2018 at 7:39 am
Hi,
Can the following approach help?
CREATE PROCEDURE ExecuteBatch
AS
BEGIN
DECLARE @CurrentMonth INT
DECLARE @MaxMonth INT
DECLARE @Year INT
DECLARE @StartDate DATETIME
DECLARE...
November 6, 2018 at 9:19 am
Hi,
As you are using SQL 2017 forum, you can make use of STRING_SPLIT() function passing ' ' as the delimiter I think.
https://docs.microsoft.com/en-us/sql/t-sql/functions/string-split-transact-sql?view=sql-server-2017
Thanks.
November 6, 2018 at 5:39 am
Hi,
It should be Scaffold-DbContext. I think you have a typo.
Thanks.
October 8, 2018 at 8:33 am
Hi,
As per my understanding, running sp_updatestats is a good option (may be weekly or daily) for a OLAP environment where we have mostly static data not updated frequently....
August 24, 2018 at 1:19 am
Hi,
Can you please post the DDL needed to create the required tables (also with some sample data)?
August 24, 2018 at 12:37 am
Hi,
Can you use Powershell script as mentioned in this article?
https://docs.microsoft.com/en-us/powershell/module/sqlserver/get-sqlinstance?view=sqlserver-ps
Thanks.
August 23, 2018 at 8:52 am
Hi,
You can get a list of stored procedures that runs on startup by:
SELECT * FROM sys.procedures WHERE OBJECTPROPERTY([object_id],'ExecIsStartUp') = 1
If you...
August 23, 2018 at 3:40 am
I do not see any use of the other table (SPOOL), then why are you putting a JOIN with that?
In case you need to check whether the AGRNO...
August 16, 2018 at 4:34 am
Hi,
You have to go with UPDATE statement only here. But in case you have any index present on that table (which is going to be updated), you can...
August 16, 2018 at 4:09 am
Hi,
In case you are pulling data from a lookup table, you may dump all those values into a temporary table (say #TmpNotAllowed) and then do a query like...
August 15, 2018 at 11:14 am
Viewing 15 posts - 16 through 30 (of 69 total)