15,884,836 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by ahmed_sa (Top 200 by date)
ahmed_sa
27-Jan-24 6:20am
View
ok thanks
ahmed_sa
22-Sep-23 20:34pm
View
problem id and name and designation i need to display it on separated line as expected above
id:
name
designation
ahmed_sa
23-Jul-23 0:52am
View
can you help me please i can't understand any thing from Razden Official Support
ahmed_sa
16-Jul-23 21:16pm
View
so can you help me please answer this question
ahmed_sa
9-Jul-23 20:01pm
View
Answer you provide i input type hidden
and it is exist on my answer
but this is not enough for working
ahmed_sa
9-Jul-23 19:27pm
View
please provide to me full answer
--Select--
@foreach (var printer in Model.PrinterList)
{
@printer.PrinterName
}
on JavaScript i do as below :
var selectElement = document.getElementById("PrinterName-select");
selectElement.addEventListener("change", function () {
var selectedOption = selectElement.options[selectElement.selectedIndex];
var selectedText = selectedOption.text;
var selectedId = selectedOption.id;
console.log("Selected Text: " + selectedText);
console.log("Selected ID: " + selectedId);
on page model two properties display as null value so How to solve this issue please
public ActionResult OnGetSelectedPrinter(string selectedtext,string selectedvalues)
{
string a = SelectedOptionValue;//display as null
string b = SelectedOptionText;//display as null
}
ahmed_sa
1-May-23 2:58am
View
JS.InvokeVoidAsync not working on event OnInitializedAsync()
ahmed_sa
7-Mar-23 9:01am
View
so can you help me answer these questions
1- are this issue must solved or this is normal and no impact for it
2- if i publish my blazor web app will stuck and hang on same line or what
please can you answer me for these questions please ?
ahmed_sa
7-Mar-23 8:57am
View
but this is normal not make issue when run on server application
ahmed_sa
7-Mar-23 6:14am
View
are this will happen on server or ignore it
ahmed_sa
7-Mar-23 6:10am
View
so are ignore it or what i afraid if stuck when run on server
ahmed_sa
26-Feb-23 19:05pm
View
so please how to solve error on publish Warning: Failed to connect via WebSockets, using the Long Polling fallback transport. This may be due to a VPN or proxy blocking the connection. To troubleshoot this, visit
ahmed_sa
19-Feb-23 0:26am
View
yes
ahmed_sa
6-Feb-23 17:20pm
View
ok but if i need to return count with rows
are this possible if yes how
ahmed_sa
7-Dec-22 14:45pm
View
i get error
Uncaught TypeError: $(...).Pagination is not a function
at HTMLDocument.<anonymous> (site.js:4:26)
at e (jquery.min.js:2:30005)
at t (jquery.min.js:2:30307)
so what this error and how to solve it
ahmed_sa
7-Dec-22 3:27am
View
can you tell me what tools will be used to working with this code as jquery version and css like that
ahmed_sa
7-Dec-22 3:22am
View
can you show me how to use jquery with web page index.cshtml
ahmed_sa
7-Dec-22 3:09am
View
so can you tell me how to call jquery inside index.cshtml
ahmed_sa
20-Nov-22 21:17pm
View
thanks for support i don't ask for code i ask for sample scenario or situation or cases using delegate and events
ahmed_sa
31-Oct-22 18:13pm
View
only one question please connection string will be
server=DESKTOP-L558MLK\AHMEDSALAHSQL,database=testdata_Dev,userid=sa and password=321
OR
using connection string
metadata=res://*/ERPEntities.csdl|res://*/ERPEntities.ssdl|res://*/ERPEntities.msl;provider=System.Data.SqlClient;provider connection string="data source=DESKTOP-L558MLK\AHMEDSALAHSQL;initial catalog=testdata_Dev;persist security info=True;user id=sa;password=321;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient"
ahmed_sa
29-Oct-22 11:35am
View
so what i do to solve issue
ahmed_sa
24-Oct-22 10:23am
View
can you show me what you mean ?
ahmed_sa
24-Oct-22 10:17am
View
if i need both equal how to write statment make both two value equal
according to me both are equal
so how to make both statment equal please
ahmed_sa
24-Oct-22 8:33am
View
so can there are any function can make both values equal
these two value are equal
can i add any function can make both equal
ahmed_sa
15-Oct-22 17:48pm
View
why this paths display
are this paths below have issue
are paths mention must have permission
and what permission must have
also sql installing on d drive
are this issue
or must sql install on pth it have operating system
File "D:\SQL Data\MSSQL15.MSSQLSERVER\PYTHON_SERVICES\lib\site-packages\pandas\io\excel.py", line 307, in read_excel
io = ExcelFile(io, engine=engine)
File "D:\SQL Data\MSSQL15.MSSQLSERVER\PYTHON_SERVICES\lib\site-packages\pandas\io\excel.py", line 394, in init
ahmed_sa
15-Oct-22 11:20am
View
last question are using python on sql server 2019 support create and write and read file remotely on shared path meaning reading and writing excel file from remote server
or not support
ahmed_sa
14-Oct-22 14:02pm
View
All application package permission for shared path I need to access AND read it is necessary
now shared path not have all application package so must add it or not
ahmed_sa
14-Oct-22 12:12pm
View
are netservice/launchpad must add permission read and write for path i need to access
or not needed
ahmed_sa
14-Oct-22 12:02pm
View
I have permission on folder every one and system and account create running service
ahmed_sa
14-Oct-22 9:01am
View
so please how to setup correctly
ahmed_sa
14-Oct-22 8:00am
View
you can connect to a 3rd machine and query data on it?
yes
ahmed_sa
14-Oct-22 7:54am
View
i can't over python script
but using openrowset using same path i need to read from it
it read success
but using python can't
ahmed_sa
14-Oct-22 5:44am
View
using account sobhy i can connect to another server and read data using openrowset
so if there are way to read data from server to server this meaning i can access it
so why message display access is denied
can you help me please
ahmed_sa
12-Oct-22 21:37pm
View
account is i login with it name sobhy
ahmed_sa
12-Oct-22 21:35pm
View
thanks for support
sure file not open
and if account i run python from it not have permission
i use this account with open rowset and read data
so can you give me more detail please
ahmed_sa
12-Oct-22 20:36pm
View
also it is not job it is python script running on sql server
ahmed_sa
12-Oct-22 20:30pm
View
I appreciate your support
1-What account is running the Python scripts? Are these Jobs running on the SQL Server?
yes running on sql server 2019 with account admin
2-On the 192.168.7.9 machine, is there a network share setup holding the files you're trying to read? What's the name of that share?
yes there are network shared setup exist and i can expolore it and open it manually
3-Is your network setup as in an AD domain and are BOTH of these machines in that domain?
yes
I try it by openrowset and read data from server 7.9 shared path
to server 7.7 by using openrowset
4-is the account running the scripts on the remote server setup to have Read permissions to the share?
yes have permission read
ahmed_sa
7-Oct-22 12:22pm
View
i need to write another query instead of above because comparison make query is very slow with big count so can you help me with another query writing
ahmed_sa
31-Aug-22 4:54am
View
good but what tools can let me boot to hard without using current operating system
ahmed_sa
15-Aug-22 4:35am
View
how to use this to solve error please
if (Object.ReferenceEquals(null, myObjVar)) { ....... }
ahmed_sa
6-Aug-22 9:21am
View
After more search I found that `os.path.isdir`working local not remote
so How to solve this issue please
ahmed_sa
6-Aug-22 7:20am
View
thank you for reply
can you help me
i will show the actual Python script and the output of when it runs.
but how to show it
tell me what i do to show you
ahmed_sa
25-Jul-22 3:06am
View
the goal mfrom asking question is to get result above without string aggreagte or comma separated
suppose i have
p1 1,2,3
p2 2,2,2
both p1 and p2 both have same count and same sum
so are there are another solution without
using string aggregate
ahmed_sa
4-Jul-22 6:30am
View
i need it because it must feature name and feature value display order by ZfeatureKey
ahmed_sa
1-Jul-22 8:09am
View
this error generated with every package i need to install with python
ahmed_sa
1-Jul-22 6:05am
View
thank you for reply
so what i do to solve issue please
im beginner on python
ahmed_sa
28-Jun-22 7:09am
View
so how to solve issue and get expected result please
i try as below
SELECT *
FROM #mass
WHERE ABS(chemicalmass - chemicalmassmodified) > 0.01
but not working
ahmed_sa
28-Jun-22 6:11am
View
but if not access why
open rowset get data from same ip and same path
ahmed_sa
28-Jun-22 3:48am
View
after apply answer above i get error as
full error as below
Msg 39004, Level 16, State 20, Line 0
A 'Python' script error occurred during execution of 'sp_execute_external_script' with HRESULT 0x80004004.
Msg 39019, Level 16, State 2, Line 0
An external script error occurred:
Error in execution. Check the output for more information.
Traceback (most recent call last):
File "<string>", line 5, in <module>
File "C:\ProgramData\MSSQLSERVER\Temp-PY\Appcontainer1\B6088BCA-3151-4E8E-B865-76108461458A\sqlindb_0.py", line 31, in transform
df = pd.read_excel("\\192.168.7.9\\Import\6\strtinsertinput (4)-953aee07-ca14-4213-a91e-ab0b0f7f3db2.xlsx", sheet_name = "Sheet1")
File "C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\PYTHON_SERVICES\lib\site-packages\pandas\util\_decorators.py", line 178, in wrapper
return func(*args, **kwargs)
File "C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\PYTHON_SERVICES\lib\site-packages\pandas\util\_decorators.py", line 178, in wrapper
return func(*args, **kwargs)
File "C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\PYTHON_SERVICES\lib\site-packages\pandas\io\excel.py", line 307, in read_excel
io = ExcelFile(io, engine=engine)
Msg 39019, Level 16, State 2, Line 0
An external script error occurred:
File "C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\PYTHON_SERVICES\lib\site-packages\pandas\io\excel.py", line 394, in __init__
self.book = xlrd.open_workbook(self._io)
File "C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\PYTHON_SERVICES\lib\site-packages\xlrd\__init__.py", line 111, in open_workbook
with open(filename, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '\\192.168.7.9\\Import\x06\\strtinsertinput (4)-953aee07-ca14-4213-a91e-ab0b0f7f3db2.xlsx'
SqlSatelliteCall error: Error in execution. Check the output for more information.
STDOUT message(s) from external script:
SqlSatelliteCall function failed. Please see the console output for more information.
Traceback (most recent call last):
File "C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\PYTHON_SERVICES\lib\site-packages\revoscalepy\computecontext\RxInSqlServer.py", line 605, in rx_sql_satellite_call
rx_native_call("SqlSatelliteCall", params)
File "C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\PYTHON_SERVICES\lib\site-packages\revoscalepy\RxSerializable.py", line 375, in rx_native_call
ret = px_call(functionname, params)
RuntimeError: revoscalepy function failed.
ahmed_sa
26-Jun-22 14:20pm
View
thank you for reply
i try answer posted above but i get error
Msg 39004, Level 16, State 20, Line 0
A 'Python' script error occurred during execution of 'sp_execute_external_script' with HRESULT 0x80004004.
Msg 39019, Level 16, State 2, Line 0
An external script error occurred:
Error in execution. Check the output for more information.
Traceback (most recent call last):
File "<string>", line 5, in <module>
File "D:\ProgramData\MSSQLSERVER\Temp-PY\Appcontainer1\F760843E-D95E-47A2-B40E-3106F323A76E\sqlindb_0.py", line 31, in transform
f = open("\\192.168.7.9\\Import\6\strtinsertinput (4)-953aee07-ca14-4213-a91e-ab0b0f7f3db2.xlsx")
FileNotFoundError: [Errno 2] No such file or directory: '\\192.168.7.9\\Import\x06\\strtinsertinput (4)-953aee07-ca14-4213-a91e-ab0b0f7f3db2.xlsx'
SqlSatelliteCall error: Error in execution. Check the output for more information.
ahmed_sa
20-Jun-22 10:09am
View
thank you for reply and interset
what you mean by following
You are defining the relationship between the tables with [MessageRule] [varchar](800) NULL and [GeneratedGroupRule] [nvarchar](500) NULL. What do you think will happen if there are any rows in the tables where those values are NULL?
You will essentially get a Cross Join (a Cartesian Join). In general, do not use columns that can contain NULL as a way of defining the join.
what you mean by that please
i need to understand this point
all point i understand and release it
ahmed_sa
19-Jun-22 16:29pm
View
let me know
what i put on where
and why and use where
and what you mean by
Cartesian join on 800 char columns
can you tell me
ahmed_sa
11-Jun-22 15:59pm
View
i can assign rank for parts based on feature name and feature value
issue i face if feature name and feature value exist before then take technology id for that
ahmed_sa
11-Jun-22 15:57pm
View
you calculate by "addition" with :
Technology = dense_rank over ..... + select max(technologyId)
yes
ahmed_sa
5-Jun-22 4:40am
View
how to write query detect numbers like IE only
i need to write query detect numbers like IE only
ahmed_sa
23-May-22 5:56am
View
if i using checksum hasing will be good or not good to get every hash store as integer
ahmed_sa
17-May-22 12:31pm
View
are will bad performance if i make it varbinary(300) or no need
ahmed_sa
17-May-22 12:20pm
View
so which is best length i can use for my case above
i use varbinary(32)
Msg 8152, Level 16, State 30, Line 2
String or binary data would be truncated.
The statement has been terminated.
ahmed_sa
17-May-22 12:14pm
View
this is excellent answer for my question
so 1- which is best SHA256, or SHA2_512
2-compare multi column hash with each other is best
or concatestring string hash on one column and compare it
3-can i create index on column varbinary
ahmed_sa
9-May-22 7:21am
View
so are possible to get text data from
0x11AF8281C1FB70097586CDCA6A9B2CA35BCC464CCD4F57D3C1D347371EB8433015080669AE93141D8A170822BB803CC36015841ED3BA853D322201C4A25F9E8D
ahmed_sa
9-May-22 7:17am
View
how to get data from
0x11AF8281C1FB70097586CDCA6A9B2CA35BCC464CCD4F57D3C1D347371EB8433015080669AE93141D8A170822BB803CC36015841ED3BA853D322201C4A25F9E8D
ahmed_sa
4-May-22 5:41am
View
i need to get header from file instead of write it because
may be i will use this query to export data for another table
ahmed_sa
4-May-22 5:24am
View
yes very good
but if i need to read it from excel
without write it can you help me on that please
meaning i will get header exist on excel file already exist and export data based on it
ahmed_sa
3-May-22 11:57am
View
can you show me how to implement below if possible please
im beginner on python
header bool or list of str, default True
Write out the column names. If a list of string is given it is assumed to be aliases for the column names.
ahmed_sa
2-May-22 9:47am
View
sorry you are correct
so how to add header names as described in the documentation at pandas.DataFrame.to_excel
ahmed_sa
2-May-22 6:56am
View
my script is dynamically may be table changed so column will be changed i can't pass it static
so can you help me please
ahmed_sa
1-May-22 16:34pm
View
Thank you for reply
I test that and give me data without header
1 ahmed
2 eslam
3 mohamed
no header for data
see image below
https://www.mediafire.com/view/fgkrnvmg0iox9ka/img_picture_issue.png/file
ahmed_sa
1-May-22 14:17pm
View
i don't have permission to change or renamce column on sql server
so please can you help me
ho to et data to excel have header without change it
ahmed_sa
1-May-22 13:52pm
View
I updated original post by expected result
ahmed_sa
1-May-22 13:47pm
View
thanks for reply
no no need that
I don't need to change column from sql
no practical to go to table and change column name
i need to export data without overwrite header excel
meaning i will get data and fill excel with header exist on excel without change it
so excel file have header
studentid studentname
export data to these two columns without change header name
so please can you help me please ?
ahmed_sa
27-Apr-22 12:22pm
View
are there are any issue if i use delete
ahmed_sa
27-Apr-22 4:05am
View
I Need overwrite excel sheet without change header
as example
i have excel sheet have studentid and student name
when export i will get data for same header
ahmed_sa
27-Apr-22 0:11am
View
thank you for reply
really i need to solve issue but can't know what i do
i need to overwrite excel file already exist without change header
ahmed_sa
15-Apr-22 13:37pm
View
i need to insert data from excel to sql server 2017
ahmed_sa
15-Apr-22 13:37pm
View
im not read from excel
i need to import data from excel to sql server 2017
ahmed_sa
2-Apr-22 6:07am
View
it compare two excel file and if it matched then it return file and if not then it must return message not matched
function compare excel
public bool CompareExcel(string filePath, string templatePath, out int rowCount, out string error)
{
error = ""; rowCount = 0;
bool areIdentical = false;
string templateSheetName = "";
List<string> columns;
GetTemplateSchema(templatePath, out templateSheetName, out columns);
areIdentical = CompareBySchema(filePath, templateSheetName, columns, out rowCount, out error);
return areIdentical;
}
ahmed_sa
31-Mar-22 10:50am
View
thank you for reply can you help me please
when i debug my api it not give me exception
so how it server error
ahmed_sa
30-Mar-22 18:38pm
View
sorry i know that
but i can't share public ip
so this is not issue
ahmed_sa
16-Mar-22 4:50am
View
can you check update original post
ahmed_sa
16-Mar-22 4:47am
View
but remain to get dates until current date so how to do it please
ahmed_sa
16-Mar-22 4:45am
View
can any one help me
i do part from what i need as below
1-i get gap between dates
;with cte as (
select partid, createddate,
dateadd(month, -1,
coalesce(lead(createddate) over (partition by partid order by createddate),
max(createddate) over ()
)
) as end_month
from Parts
union all
select partid, dateadd(month, 1, createddate), end_month
from cte
where createddate
ahmed_sa
10-Mar-22 14:04pm
View
how to reduce it please can you please answer to me
ahmed_sa
23-Feb-22 16:18pm
View
can you show me how by code if possible
ahmed_sa
23-Feb-22 15:43pm
View
MNH32 5601 484456
KLMD33 5022 484456
these two rows i don't need it because i need group that have only one souce 484456
ahmed_sa
23-Feb-22 15:39pm
View
no not that what i need
i need vcompany and given part number that have only one source type 484456
ahmed_sa
23-Jan-22 1:50am
View
IF OBJECT_ID('[dbo].[gen]') IS NOT NULL
DROP TABLE [dbo].[gen]
IF OBJECT_ID('[dbo].[PartAttributes]') IS NOT NULL
DROP TABLE [dbo].[PartAttributes]
IF OBJECT_ID('dbo.core_datadefinition_Detailes') IS NOT NULL
DROP TABLE core_datadefinition_Detailes
CREATE TABLE core_datadefinition_Detailes(
[ID] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
[ColumnName] [nvarchar](500) NOT NULL,
[ColumnNumber] [int] NOT NULL,
CONSTRAINT [PK_Core_DataDefinition_Details] PRIMARY KEY CLUSTERED
(
[ID] ASC
)
)
insert into core_datadefinition_Detailes([ColumnNumber],[ColumnName])
values
(202503,'Product Shape Type'),
(1501170111,'Type'),
(202504,'Package Family')
CREATE TABLE [dbo].[gen](
[TradeCodeControlID] [int] IDENTITY(1,1) NOT NULL,
[CodeTypeID] [int] NULL,
[RevisionID] [bigint] NULL,
[Code] [varchar](20) NULL,
[ZPLID] [int] NULL,
[ZfeatureKey] [bigint] NULL,
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [dbo].[gen] ON
INSERT [dbo].[gen] ([TradeCodeControlID], [CodeTypeID],[RevisionID], [Code], [ZPLID], [ZfeatureKey]) VALUES (7565, 849774, 307683692, N'8541100050', 4239, 202503)
INSERT [dbo].[gen] ([TradeCodeControlID], [CodeTypeID],[RevisionID], [Code], [ZPLID], [ZfeatureKey]) VALUES (7566, 849774, 307683692, N'8541100050', 4239, 202504)
INSERT [dbo].[gen] ([TradeCodeControlID], [CodeTypeID],[RevisionID], [Code], [ZPLID], [ZfeatureKey]) VALUES (7567, 849774, 307683692, N'8541100050', 4239, 1501170111)
SET IDENTITY_INSERT [dbo].[gen] OFF
CREATE TABLE [dbo].[PartAttributes](
[PartID] [int] NOT NULL,
[ZfeatureKey] [bigint] NULL,
[AcceptedValuesOption_Value] [float] NULL,
[FeatureValue] [nvarchar](500) NOT NULL
) ON [PRIMARY]
GO
INSERT [dbo].[PartAttributes] ([PartID], [ZfeatureKey], [FeatureValue]) VALUES (413989, 202503, N'Discrete')
INSERT [dbo].[PartAttributes] ([PartID], [ZfeatureKey], [FeatureValue]) VALUES (413989, 1501170111, N'Zener')
INSERT [dbo].[PartAttributes] ([PartID], [ZfeatureKey], [FeatureValue]) VALUES (413989, 202504, N'SOT')
SELECT PartID,Code,Co.CodeTypeID,Co.RevisionID,Co.ZPLID,Count(1) as ConCount,
stuff(( SELECT '$' + CAST( CP.ColumnName AS VARCHAR(300)) AS [text()]
FROM(SELECT distinct d.ColumnName,C.codeTypeId,C.Code,C.ZfeatureKey from gen C
inner join core_datadefinitiondetails d with(nolock) on C.ZfeatureKey=d.columnnumber
INNER JOIN PartAttributes P on P.partid=PM.partid)CP
where CP.codeTypeId=Co.codeTypeId and CP.Code=Co.Code
ORDER BY CP.ZfeatureKey
FOR XML PATH(''), TYPE
).value('.', 'NVARCHAR(MAX)')
, 1, 1, '') as FeatureName,
stuff(( SELECT '$' + CAST( CP2.FeatureValue AS VARCHAR(300)) AS [text()]
FROM(SELECT distinct P.FeatureValue,C2.codeTypeId,C2.Code,C2.ZfeatureKey FROM gen C2
INNER JOIN PartAttributes P on C2.ZfeatureKey=P.ZfeatureKey)CP2
where CP2.codeTypeId=Co.codeTypeId and CP2.Code=Co.Code
ORDER BY CP2.ZfeatureKey
FOR XML PATH(''), TYPE
).value('.', 'NVARCHAR(MAX)')
, 1, 1, '') as FeatureValue
FROM
PartAttributes PM
INNER JOIN gen Co ON Co.ZfeatureKey = PM.ZfeatureKey Group By PartID,Code,Co.CodeTypeID,Co.RevisionID,Co.ZPLID
expected result
PartID Code CodeTypeID RevisionID ZPLID ConCount FeatureName FeatureValue
413989 8541100050 849774 307683
ahmed_sa
20-Jan-22 9:06am
View
so please are this correc
CREATE NONCLUSTERED INDEX IDX_ZPLID
ON ExtractReports.dbo.TPls ( ZPLID)
INCLUDE ( Code, CodeTypeID, RevisionID );
ahmed_sa
20-Jan-22 7:46am
View
why you say index for all these column
if i put index on zplid column will be correct or muest create on all these columns
ahmed_sa
6-Jan-22 7:09am
View
when create index on key and value both
as
CREATE INDEX Tradecodessd_idx on Parts.Nop_PartsFamilyAttribute([key],[value])
i get error
Warning! The maximum key length for a nonclustered index is 1700 bytes. The index 'Tradecodessd_idx' has maximum length of 4404 bytes. For some combination of large values, the insert/update operation will fail.
Msg 1946, Level 16, State 3, Line 1
Operation failed. The index entry of length 2004 bytes for the index 'Tradecodessd_idx' exceeds the maximum length of 1700 bytes for nonclustered indexes.
The statement has been terminated.
ahmed_sa
5-Jan-22 13:12pm
View
ReplyModify the comment. Delete the comment.
i create index
create index pf_idx on Parts.Nop_PartsFamilyAttribute([Key]) include ([Value])
but nothing affect index seek
ahmed_sa
5-Jan-22 12:56pm
View
i create index
create index pf_idx on Parts.Nop_PartsFamilyAttribute([Key]) include ([Value])
but nothing affect index seek
ahmed_sa
4-Jan-22 15:51pm
View
subquery as below
SET FamilyGroup = STUFF(
(
)
ahmed_sa
4-Jan-22 15:50pm
View
thanks for reply
are statement above write best practice correct
ahmed_sa
4-Dec-21 4:49am
View
i need regex on sql server get me > and not get <>
as sample below
create table #temp
(
InsertData nvarchar(50)
)
insert into #temp(InsertData)
values
('>10'),
('<> solid data')
how to return first result on insertdata column value >10
ahmed_sa
1-Dec-21 14:08pm
View
so can you show me if possible
ahmed_sa
1-Dec-21 6:06am
View
I need to get same features name and feature values based on group by fields
ahmed_sa
1-Dec-21 6:05am
View
only can you show me how to do on cte as feature name and feature value
can you help me please
ahmed_sa
25-Nov-21 15:16pm
View
how to cast this line
IIF(CHARINDEX('~', ZValue)>0, SUBSTRING(ZValue,1,CHARINDEX('~', ZValue)-1),TC.ZValue) AS EStrat,
to varchar(3000) to accept create index
ahmed_sa
25-Nov-21 14:39pm
View
table created by this statment
SELECT TradeCodeControlID ,
VersionYear ,
Version ,
CodeTypeID ,
RevisionID ,
Code ,
ZPLID ,
ZfeatureKey ,
ZfeatureType ,
IIF(CHARINDEX('~', ZValue)>0, SUBSTRING(ZValue,1,CHARINDEX('~', ZValue)-1),TC.ZValue) AS EStrat,
LTRIM(IIF(CHARINDEX('~', ZValue)>0, SUBSTRING(ZValue,CHARINDEX('~', ZValue)+1,LEN(ZValue)),'')) AS EEnd
INTO ExtractReports.dbo.TGen
FROM Parts.TradeCodeControl TC with(nolock)
WHERE TC.ZPLID=@productID
how to case column Estrat to can create index it
ahmed_sa
25-Nov-21 14:27pm
View
so how to reduce it
for what i will reduce
ahmed_sa
25-Nov-21 14:26pm
View
imake select MAX(LEN(EStrat)) from [dbo].[TGen]
it give 2252
ahmed_sa
25-Nov-21 14:06pm
View
so reduce to what
now it is nvarchar(2500)
so make it as what
how much
ahmed_sa
25-Nov-21 8:14am
View
if i need to generate id for every hash on two table then join by it
are this possible
how to do that please ?
ahmed_sa
19-Nov-21 7:11am
View
Index on (i.partid,i.partlevel)
Index on(tr.partlevel,tr.zplid)
AND MY ISSUE solved
thank you
ahmed_sa
10-Nov-21 9:05am
View
if not using while loop
then is good idea
but how to execute sub procedure on sample i attach without using loop
can you show me please
ahmed_sa
9-Nov-21 13:12pm
View
i will use go inside procedure or outside
ahmed_sa
9-Nov-21 6:22am
View
i mean drop issue when i make drop on first of procedure it must not give me
invalid column name
ahmed_sa
5-Nov-21 11:30am
View
full structure script dd and query as below
https://www.mycompiler.io/view/3LncvaR
ahmed_sa
13-Oct-21 13:06pm
View
thank you for reply
can you write these statement below by joining using id
without join by url text
are there are any way to do that
update t set t.Revision_ID = r.rec_id
FROM extractreports.dbo.TempROHS t
INNER join Z2urlSystem.zsrc.Local_URL l (NOLOCK) ON t.ZURLSource1 = l.local_url
INNER join Z2urlSystem.zsrc.Online_URL o (NOLOCK) ON t.OnlineSource1 = o.url
INNER join Z2urlSystem.zsrc.Revision r (NOLOCK) ON l.rec_id = r.local_id AND o.Rec_ID = r.online_id
WHERE t.[Status] IS NULL
ahmed_sa
13-Oct-21 13:06pm
View
thank you for reply
can you write these statement below by joining using id
without join by url text
are there are any way to do that
update t set t.Revision_ID = r.rec_id
FROM extractreports.dbo.TempROHS t
INNER join Z2urlSystem.zsrc.Local_URL l (NOLOCK) ON t.ZURLSource1 = l.local_url
INNER join Z2urlSystem.zsrc.Online_URL o (NOLOCK) ON t.OnlineSource1 = o.url
INNER join Z2urlSystem.zsrc.Revision r (NOLOCK) ON l.rec_id = r.local_id AND o.Rec_ID = r.online_id
WHERE t.[Status] IS NULL
ahmed_sa
13-Oct-21 1:53am
View
so how i do below
You can try indexing your fields that you are joining on. Can you add ids to your tables and join on them instead?
ahmed_sa
12-Oct-21 16:15pm
View
so what i do
ahmed_sa
12-Oct-21 16:03pm
View
so how to make update more faster
i already put on status index but nothing changed
it take 6 hour for 68 k
so if you have any suggestion to do it faster
i attach execution plan above
ahmed_sa
26-Sep-21 20:58pm
View
i found issue do that
SendKeys.Send("{TAB " + TimesToSend + "}");
but problem how to focus first cell on next row without using tab key send
ahmed_sa
10-Sep-21 16:15pm
View
thanks for reply
can i get data from Request.Form.Files[0];
instead of copy to file then get data from copied file
ahmed_sa
31-Aug-21 17:47pm
View
thank you very much
1- first question are using memory stream like below is correct
var memory2 = new MemoryStream();
using (var stream = new FileStream(exportPath, FileMode.Open))
{
stream.CopyTo(memory2);
}
memory2.Position = 0;
2-second question when I have exception file using by another process
so How to solve issue
3- Are using async task wait will have benefit or no need
can you please answer me on this comment
please hel me
ahmed_sa
2-Aug-21 18:54pm
View
ok thank you
ahmed_sa
13-Jul-21 5:21am
View
i have 14 component on my app
how to know which component that have this issue
ahmed_sa
13-Jul-21 5:17am
View
ok can you help me
i have 14 component and i don't have any message or error tell me
that issue on these component to solve it
can you tell me how i know that please
it take from me two days and i can't know from what this issue done
ahmed_sa
13-Jul-21 4:37am
View
ok how to get that please can you tell me how to get that
ahmed_sa
4-Jul-21 2:36am
View
invoice id is invoice no
and i use this field to store Purchase ID AND sales or consume ID
but my issue How to handle transfer from inventory to another inventory
this is my question
ahmed_sa
21-Jun-21 5:12am
View
i already do cast so why it display like that
ahmed_sa
17-Jun-21 2:22am
View
yes but i don't know how to get true or false from api
ahmed_sa
15-Jun-21 11:56am
View
i try to do like below
PostUpload(selectedoptionsId, file):Observable<response>
{
const formData: FormData = new FormData();
formData.append('file', file,file.name);
formData.append('selectedoptions',selectedoptionsId.toString());
return this.http.post('http://localhost:61265/api/DeliverySys/', formData);
}
error as below
is not assignable to type 'import("e:/TestInternalSystemZ2Data/FullProjectAngApiLastUpdate/Z2DataAngularV1.8/node_modules/rxjs/internal/Observable").Observable<response>'.
Type 'Response' is missing the following properties from type 'Response': redirected, trailer, clone, body, and 2 more.ts(2322)
ahmed_sa
15-Jun-21 11:52am
View
this is my function
can you help me tell me
how to call it please
without make service and function
thi is below do what i need
this.http.post('http://localhost:61265/api/DeliverySys/', formData,{ responseType: 'blob' })
.subscribe((response: Blob) => saveAs(response, this.fileToUpload.name + '.xlsx'));
PostUpload(selectedoptionsId, file)
{
const formData: FormData = new FormData();
formData.append('file', file,file.name);
formData.append('selectedoptions',selectedoptionsId.toString());
return this.http.post('http://localhost:61265/api/DeliverySys/', formData);
}
i make it as you tell me
PostUpload(selectedoptionsId, file): Observable<blob> {
and it give me error
ahmed_sa
15-Jun-21 11:10am
View
but why function call above give me error
ahmed_sa
15-Jun-21 10:59am
View
without doing service and call function
i make that and it working
this.http.post('http://localhost:61265/api/DeliverySys/', formData,{ responseType: 'blob' })
.subscribe((response: Blob) => saveAs(response, this.fileToUpload.name + '.xlsx'));
so please how to call function to give me same result
ahmed_sa
15-Jun-21 10:58am
View
on service i got this error
Type 'Observable<response>' is not assignable to type 'Observable<blob>'.
Type 'Response' is missing the following properties from type 'Blob': size, slice, streamts(2322)
after i modify function to
PostUpload(selectedoptionsId, file): Observable<blob> {
can you please help me
ahmed_sa
15-Jun-21 10:42am
View
can any one help me
my issue online below
this._dataService.PostUpload(this.selectedoptions.toString(),this.fileToUpload)
.subscribe((response: Blob) => saveAs(response, this.fileToUpload.name + '.xlsx'));
ahmed_sa
14-Jun-21 10:57am
View
according to point 1,3 and 4 is ok
but point 2 portion key length how to handle it best practice
ahmed_sa
14-Jun-21 10:10am
View
1- can you tell me how foreign key will be
2- what i don on length of portionkey
3- how to use cte instead of @GetFinalResult
ahmed_sa
14-Jun-21 7:16am
View
you are correct it must be int
so are there are any thing other can enhancement
ahmed_sa
11-Jun-21 12:17pm
View
can i generate unique id for table getfinaldatapc by checksum or what every
and generate unique id for table getfinaldatapcmask also by checksum
then join between two tables by id generated
if this possible can you help me applying
ahmed_sa
11-Jun-21 11:19am
View
are there are any solution without using like
ahmed_sa
3-Jun-21 9:24am
View
case when after <> or = is string then use Name else using AcceptedValuesOption_Value
so How to do that please
ahmed_sa
3-Jun-21 2:31am
View
any one can help me please
ahmed_sa
28-May-21 10:25am
View
yes this is good
public IActionResult Upload([FromBody] int selectedOwnerLevel)
and after that how to access value of selectedOwnerLevel
meaning how to get value 1 from key selectedOwnerLevel
ahmed_sa
28-May-21 9:28am
View
thanks but i have two questions
first question how to get value on web api
meaning how to get value of this.selectedOwnerLevel on web api
second question how to add this this.selectedOwnerLevel on form data
i do as below
formData.append('selectedOwnerLevel', this.selectedOwnerLevel);
when make console.log(FormData)
it give me as below
formData.append('file', this.fileToUpload,this.fileToUpload.name);
formData.append('selectedOwnerLevel',this.selectedOwnerLevel.toString());
console.log(formData);
when inspect it come as below
file [object File]
selectedOwnerLevel 1
so How to access value of selectedOwnerLevel
on web api
ahmed_sa
28-May-21 3:35am
View
thank you for reply
i need to pass value of this.selectedOwnerLevel on angular 7
to web api variable selectedOwnerLevel
public IActionResult Upload(int selectedOwnerLevel)
this actually what i need
any information need i can tell you
on angular 7 i
make console.log(this.selectedOwnerLevel)
it give me 1
but on web api value of selectedOwnerLevel is 0
so How to solve this issue please help me
by any way i need to get value of this.selectedOwnerLevel on server web api
so How to do that
ahmed_sa
25-May-21 8:40am
View
System.IO.File.Copy(OutputfilePath, Path.Combine(exportDirectory, fileName), true);
System.Diagnostics.Debug.WriteLine(myValue2)
\\192.168.2.7\ImportExport\testImporter
System.Diagnostics.Debug.WriteLine(exportDirectory)
\\192.168.2.7\ImportExport\testImporter\5
System.Diagnostics.Debug.WriteLine(OutputfilePath)
\\192.168.2.7\ImportExport\testImporter\DeliveryGeneration_Output.xlsx
System.Diagnostics.Debug.WriteLine(Path.Combine(exportDirectory, fileName))
\\192.168.2.7\ImportExport\testImporter\5\orignal-e1f75892-7c35-4533-b2ff-ddc8e9893733.xlsx
System.Diagnostics.Debug.WriteLine(ex)
System.IO.IOException: The target file '\\192.168.2.7\ImportExport\testImporter\5\orignal-e1f75892-7c35-4533-b2ff-ddc8e9893733.xlsx' is a directory, not a file.
at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Framework.WebApi.Controllers.DeliverySystem.DeliverySysController.Upload()
ahmed_sa
25-May-21 5:21am
View
can we more clear please
both destination and source is files not directory
GetFilesDownload is
\\\\192.168.2.7\\ImportExport\\testImporter
string Month = DateTime.Now.Month.ToString();
string exportDirectory = GetFilesDownload + "\\" + Month;
var OutputfilePath = System.IO.Path.Combine( GetFilesDownload, "DeliveryGeneration_Output.xlsx");
System.IO.File.Copy(OutputfilePath, Path.Combine(exportDirectory, fileName), true);
ahmed_sa
25-May-21 4:31am
View
can you more clear please
destination and source is files and can access it
so why error give me it is directory
the destination and source is file and not directory
it is ended by xlsx excel file
so why error give me it is directory
ahmed_sa
25-May-21 4:14am
View
thank you for reply
what you mean by exact string
ahmed_sa
12-Apr-21 7:41am
View
as above length 3962 are that related to length or what id o
statment sql not complete
ahmed_sa
12-Apr-21 7:37am
View
statment not complete
as
following
'Competitor Automotive' as [Competitor Automotive], 'NXP Automotive' as [NXP Automotive], 'Competitor Normalized Package Name' as [Competitor Normalized Package Name], 'NXP Normalized Package Name' as [NXP Normalized Package Name], 'Competitor Accelerometers Type' as [Competitor Accelerometers Type], 'Competitor Amplifier Type' as [Competitor Amplifier Type], 'Competitor Battery Type' as [Competitor Battery Type], 'Competitor Diode Type' as [Competitor Diode Type], 'Competitor Function' as [Competitor Function], 'Competitor Multi-Demultiplexer Circuit' as [Competitor Multi-Demultiplexer Circuit], 'Competitor Multiplexer And Demultiplexer' as [Competitor Multiplexer And Demultiplexer], 'Competitor Output Type' as [Competitor Output Type], 'Competitor Type' as [Competitor Type], 'NXP Accelerometers Type' as [NXP Accelerometers Type], 'NXP Amplifier Type' as [NXP Amplifier Type], 'NXP Battery Type' as [NXP Battery Type], 'NXP Diode Type' as [NXP Diode Type], 'NXP Function' as [NXP Function], 'NXP Multi-Demultiplexer Circuit' as [NXP Multi-Demultiplexer Circuit], 'NXP Multiplexer And Demultiplexer' as [NXP Multiplexer And Demultiplexer], 'NXP Output Type' as [NXP Output Type], 'NXP Type' as [NXP Type], 'Competitor Axis' as [Competitor Axis], 'Competitor Capacitance' as [Competitor Capacitance], 'Competitor Charging Current Type' as [Competitor Charging Current Type], 'Competitor Function' as [Competitor Function], 'Competitor Maximum Reverse Peak Voltage' as [Competitor Maximum Reverse Peak Voltage], 'Competitor Normal Position' as [Competitor Normal Position], 'Competitor Number of Channels' as [Competitor Number of Channels], 'Competitor Number of Circuits' as [Competitor Number of Circuits], 'Competitor Number of Outputs' as [Competitor Number of Outputs], 'Competitor Sensor Type' as [Competitor Sensor Type], 'NXP Axis' as [NXP Axis], 'NXP Capacitance' as [NXP Capacitance], 'NXP Charging Current Type' as [NXP Charging Current Type], 'NXP Function' as [NXP Function], 'NXP Maximum Reverse Peak Voltage' as [NXP Maximum Reverse Peak Voltage], 'NXP Normal Position' as [NXP Normal Position], 'NXP Number of Channels' as [NXP Number of Channels], 'NXP Number of Circuits' as [NXP Number of Circuits], 'NXP Number of Outputs' as [NXP Number of Outputs], 'NXP Sensor Type' as [NXP Sensor Type], 'Competitor Capacitance' as [Competitor Capacitance], 'Competitor Interface' as [Competitor Interface], 'Competitor Interface Type' as [Competitor Interface Type], 'Competitor Maximum Operating Temperature' as [Competitor Maximum Operating Temperature], 'Competitor Maximum Reverse Peak Voltage' as [Competitor Maximum Reverse Peak Voltage], 'Competitor Number of Cells' as [Competitor Number of Cells], 'Competitor Number of Channels' as [Competitor Number of Channels], 'Competitor Number of Inputs' as [Competitor Number of Inputs], 'Competitor Output Configuration' as [Competitor Output Configuration], 'Competitor Output Type' as [Competitor Output Type], 'NXP Capacitance' as [NXP Capacitance], 'NXP Interface' as [NXP Interface], 'NXP Interface Type' as [NXP Interface Type], 'NXP Maximum Operating Temperature' as [NXP Maximum Operating Temperature], 'NXP Maximum Reverse Peak Voltage' as [NXP Maximum Reverse Peak Voltage], 'NXP Number of Cells' as [NXP Number of Cells], 'NXP Number of Channels' as [NXP Number of Channels], 'NXP Number of Inputs' as [NXP Number of Inputs], 'NXP Output Configuration' as [NXP Output Configuration], 'NXP Output Type' as [NXP Output Type], 'Competitor Acceleration Range' as [Competitor Acceleration Range], 'Competitor Capacitance Ratio' as [Competitor Capacitance Ratio], 'Competitor Fault Protection' as [Competitor Fault Protection], 'Competitor Maximum Forward Current' as [Competitor Maximum Forward Current], 'Competitor Maximum Supply Voltage' as [Competitor Maximum Supply Voltage], 'Competitor Number of Inputs' as [Competitor Number of Inputs], 'Competitor Number of Outputs' as [Compet
ahmed_sa
12-Apr-21 4:30am
View
thank you for reply
can you help me on that
why error incorrect syntax near as display
what i do to solve it
ahmed_sa
9-Apr-21 5:31am
View
can you help me
issue on that line
Invalid length parameter passed to the LEFT or SUBSTRING function
SELECT [Page ID],
Substring([ParentObject],CHARINDEX('Slot', [ParentObject])+4, ABS(CHARINDEX('Offset', [ParentObject])-(CHARINDEX('Slot', [ParentObject])+4))) as [Slot ID]
ahmed_sa
27-Dec-20 2:05am
View
my problem that i have same display order and same columnorderby
so How to solve this issue please ?
ahmed_sa
5-Nov-20 10:45am
View
i mean 6 on real data
and expected is result will be after remove last two digit
ahmed_sa
5-Nov-20 9:32am
View
so what I do
ahmed_sa
13-Sep-20 2:50am
View
thank you for reply
Expected result is :
PartIDC PartIDX
1222 3491
but i get it wrong as
PartIDC PartIDX
2243 2243
when apply answer above
can you help me get correct answer
ahmed_sa
8-Sep-20 6:30am
View
sorry function exist on
dbo.split function exist on
https://www.sqlteam.com/forums/topic.asp?TOPIC_ID=50648
ahmed_sa
8-Sep-20 2:58am
View
dbo.split are built in function
ahmed_sa
5-Aug-20 21:02pm
View
so please what I do
ahmed_sa
22-Jul-20 6:41am
View
so what I do to enhance performance of that long query
ahmed_sa
22-Jul-20 6:40am
View
so what I do to do that fast
ahmed_sa
17-Jun-20 21:56pm
View
I need to make result above as SQL function so how to do that .
what I try give me correct result only what i need to do converting code above to SQL function
ahmed_sa
4-Jun-20 6:46am
View
if possible can you help me by showing code
ahmed_sa
2-Jun-20 11:47am
View
I got what you mean you mean then when I make return new SQL connection this meaning
this is not static because I take new object my question are connection with this way is good or bad
ahmed_sa
2-Jun-20 11:27am
View
I read it but I need ask are my work is wrong and if I change my connection above to get query from another server what issue I will solve
please help me
ahmed_sa
2-Jun-20 10:58am
View
so my question are using connection as I used is correct or what ?
ahmed_sa
22-May-20 19:44pm
View
thank you for reply i need to prevent it from display by using filter because totalCount display as last column on table
and i dont need to display it
ahmed_sa
14-Apr-20 9:13am
View
I modify my original post if any more details i will explain to you
ahmed_sa
14-Apr-20 7:15am
View
thank you for reply it is not give me correct result
remaining record number 5 and 6
as link
https://www.mediafire.com/view/7vjbonu46astw64/DataSheet.png/file
i do
delete t from #TradeCode t
left join #MappingCodeValue as m
on (t.codetype = m.parentcodetype) and (t.codevalue = m.parentcodevalue)
where m.parentcodetype is null and m.parentcodevalue is null
select * from #TradeCode
TradeCodeId PartId CodeType CodeValue partlevel PartDone
1 1222 ECCS-US AB123-US 0 NULL
2 1255 ECCS-US AB555-US 0 NULL
11 1255 HTS-US AB900-US 0 NULL
12 909 HTS-US AB900-US 0 NULL
ahmed_sa
1-Apr-20 4:03am
View
OK i understand
ahmed_sa
1-Apr-20 3:41am
View
thank you very much for help for support
I really get more benefit from that forum so much
and i learn so much .
sometimes i ask questions to get more efficient answer to my questions
OK i understand about what you talk above and i will improve my self
only one question i need answer for it
you confuse because task is trivial or Im not try .
please tell me i lookup to Learn from my wrong to not repeat again ?
ahmed_sa
31-Mar-20 17:32pm
View
I solved my issue
thank you
this is my answer
declare @SeletColumnComma varchar(max)
select @SeletColumnComma = coalesce(@SeletColumnComma + ',','') + coalesce('substring(DoneCode ,' +cast (FunctionId as nvarchar(20)) + ',1) as ' + FunctionName + '','') from #Donecode
select @SeletColumnComma
DECLARE @query nvarchar(max)
SET @query='select ' + @SeletColumnComma + ' from #filedetails'
exec(@query)
ahmed_sa
24-Mar-20 7:38am
View
I ask this question because i need to access my laravel project from another machine on lan
locally laravel project work
but it not work ovrer lan
can you please tell me what i do to see my app from another pc on my lan
i use ip 192.168.2.37 and i can see that ip from anoter pc
but laravel project cannot see it
although it work locally
ahmed_sa
23-Mar-20 13:29pm
View
which tool need to install and what i do to solve this issue
ahmed_sa
19-Mar-20 6:06am
View
it is found on this link
https://www.brentozar.com/pastetheplan/?id=Hyss6rlLL
ahmed_sa
16-Mar-20 6:29am
View
can you see execution plan above
ahmed_sa
24-Feb-20 10:04am
View
I need to write function with ado.net make same as API above
ahmed_sa
24-Feb-20 10:03am
View
I need to write function with ado.net make same as above
ahmed_sa
23-Feb-20 5:19am
View
no i dont need that i need it on angular 7 what i do to receive value of count
my API return number as 100
how to receive on angular 7 and display on component.html
ahmed_sa
18-Feb-20 4:14am
View
Thanks for reply i ask here only to give me some idea about what i make only and give me public reasons for that
ahmed_sa
17-Feb-20 10:25am
View
what you mean this line please
also fire the Send Alert method you have yet to write
are this meaning windows notifications or send by email
can you tell me what you mean by line above if possible ?
ahmed_sa
17-Feb-20 5:40am
View
thank you for reply by email using asp.net core 2.2
ahmed_sa
13-Feb-20 8:33am
View
OK this i will do and while loop what alternative to it
ahmed_sa
13-Feb-20 7:10am
View
I Update my script query full so can you help me please if p[ossible
if there are any solution without using while loop
ahmed_sa
13-Feb-20 4:17am
View
can i write my query above without using while loop solutions
ahmed_sa
13-Feb-20 1:35am
View
OK and what about select top 5000 exist inside loop
are this OK or have something issue
ahmed_sa
11-Feb-20 8:47am
View
can any one help me please
ahmed_sa
10-Feb-20 17:54pm
View
my problem in @Columns variables before union all not show dynamic values but after union all it display dynamic values so How to solve this problem
ahmed_sa
6-Feb-20 6:27am
View
please can you help me to do that on angular 7
ahmed_sa
3-Feb-20 22:41pm
View
but i face problem on this line
FeatureName IN (' + @Columns + ')
ahmed_sa
3-Feb-20 22:30pm
View
can you help me
i need to run as select statement
see How to run that
DECLARE @Columns as VARCHAR(MAX)
SELECT @Columns =
COALESCE(@Columns + ', ','') + QUOTENAME(FeatureName)
FROM
--distinct FT.FeatureName
(select distinct FT.FeatureName from #InputData Feat inner join #ItemFeatures ItemF
on ItemF.CustomerId=Feat.CustomerId INNER join #FeatureType FT on ItemF.FeatureId=FT.FeatureId
) AS B
ORDER BY B.FeatureName
SELECT ItemCode, IPN,PartnerName,CustomerName, ' + @Columns + '
FROM
(
select F.ItemId,F.ItemId as ItemCode,I.IPN,I.PartnerName,I.PartnerPart,c.CustomerName,t.FeatureName from #InputData Itm
inner join #ItemFeatures F on F.CustomerId=Itm.CustomerId
inner join #Items I on I.ItemID=F.ItemId
inner join #FeatureType T on T.FeatureId=F.FeatureId
inner join #customers c on c.CustomerID=F.CustomerID
) as PivotData
PIVOT
(
COUNT(ItemId)
FOR FeatureName IN (' + @Columns + ')
) AS PivotResult
ORDER BY CustomerName
ahmed_sa
1-Feb-20 18:06pm
View
thank you for reply
how to concate number of characters from string
meaning i need to use concate for 150 from string
ahmed_sa
28-Jan-20 4:16am
View
this is correct or wrong
ahmed_sa
28-Jan-20 3:30am
View
why AND TCC.codeType IS NULL
i SEE
t.CodeType IS NULL IS enough
ahmed_sa
25-Jan-20 4:30am
View
I have insertiondate on table have formate dd/mm/yyyy
I need when user write any formate different from dd/mm/yyyy
like mm/dd/yyyy or yyyy/mm/dd
convert to dd/mm/yyyy
How to do that please ?
ahmed_sa
24-Jan-20 7:54am
View
thank you very much
ahmed_sa
24-Jan-20 7:41am
View
thank you for reply
statement i write (not in)
give me correct result
but I need using join with where if there are condition
are this possible or not
ahmed_sa
22-Jan-20 8:17am
View
thanks for help
ahmed_sa
22-Jan-20 8:05am
View
above it based on partid i need to display based on tradecode
on my case every trade code have group of parts
when trade code on tempsupplier is 15
this meaning i will display all parts that exist on temp parts and not exist on temp trade code
missing i need to get is missing from trade code
ahmed_sa
22-Jan-20 7:33am
View
I need missing parts on level of tradecode not level of part meaning parts have related parts 1,2,3 then i will search for missing on temp table parts meaning any part different from 1,2,3
ahmed_sa
22-Jan-20 6:14am
View
i explain more and post final result at end
ahmed_sa
13-Jan-20 13:24pm
View
my wrong on that question is I cannot put points above on google map
so please i need help
I need resume code above to pinpoint these locations above on google map
ahmed_sa
13-Jan-20 8:38am
View
there is no error display on inspect
ahmed_sa
12-Jan-20 6:05am
View
can you tell me what final code i modify to get access to value of userPass
ahmed_sa
12-Jan-20 5:05am
View
console.log("check new" + auth[0]);
it give me
check new[
Show More