Skip to main content
0 votes
1 answer
260 views

I have a procedure that pushes data from my local SQL Server 2005 database into a table in an Azure DB which is set up as a linked server. The basic data flow is create a #staging table, fill the #...
tkeen's user avatar
  • 372
0 votes
2 answers
154 views

I have a table dates with a column SENTDATE where each row has a varying number of dates in it, separated by a semi colon (;). The dates are currently in the format YYYYMMDD - for example: 20240529;...
MeltedMetal's user avatar
1 vote
1 answer
93 views

I'm currently working with a stored procedure that executes an INSERT statement using EXEC sp_executesql. The procedure takes several parameters, including @TRANSACTIONNUM, @CUSTOMERNUM, @VALUE, and @...
zolei's user avatar
  • 25
0 votes
1 answer
79 views

I want to know how to pass symmetric key to SQL query as parameter. I'm usually hardcoding it within the query as follows: OPEN SYMMETRIC KEY SymKey DECRYPTION BY CERTIFICATE CertiFi; SELECT * FROM ...
Mark's user avatar
  • 91
0 votes
0 answers
54 views

I've been given the unenviable task documenting the catalogue ingest process of our data warehouse. All was going well until the end where I came across the use of a conditional split inside of an ...
DickMille's user avatar
0 votes
1 answer
104 views

Values in the column Name_Orig look something like this: **Ang-Stl-A36-6X4X.5**Angle,A36*,4X6X1/2**** I want First occurrence of ** to be replaced by Xx_ Second occurrence of ** to be replaced by a_ ...
ITBrute's user avatar
0 votes
0 answers
263 views

Result Set of MSrepl_commands I want to infer that whether its a insert/update/delete command . We need to check at day end the amount of data replicated per article by the transactional replication. ...
BK Shailender's user avatar
-1 votes
1 answer
141 views

This is not just a simple extraction. I have two tables. I take the values from one table and then use one column from this table to find a corresponding value in another table and then extract all ...
Brute's user avatar
  • 43
0 votes
1 answer
97 views

When I make a new migration (Add-Migration Example) , and then I try to get all the migrations (Get-Migration) I find that the "applied" field is "True" without even using (Update-...
elshater hassan's user avatar
1 vote
4 answers
118 views

My table structures are shown here: Table1 Col1 10 20 20 20 30 30 40 Table2 Col1 10 20 30 40 My expected result is this: Col1 Col2 10 Matched 20 Matched 20 Not Matched 20 Not Matched 30 Matched 30 Not ...
Kannan's user avatar
  • 11
-1 votes
3 answers
328 views

Using SQL Server, I have multiple tables: Assignments aID, acID, clientID, userID, pos, dateOn AssignmentCarriers acID, clientID, cName, isAssignment Users userID, fName Clients ...
Damien's user avatar
  • 4,339
0 votes
0 answers
149 views

We are trying to save a DataFrame in SQL Server (V2005) using the following method: df_cards.write.jdbc(url=conn_str, table=tablename, mode='append', properties=properties) However, we encountered ...
Moisés's user avatar
  • 105
0 votes
1 answer
156 views

From a certain column I need the following type of data: Value is 6 characters long and is numerical “L” is any letter followed by 5 numerical characters, for example L12345 the L needs to be turned ...
Brute's user avatar
  • 43
1 vote
0 answers
113 views

Sometimes, when there is no load on the server, the size of the MS SQL database tempdb log file (templog.ldf) starts increasing. As a result, the available space on the C drive decreases. To resolve ...
madhukumar's user avatar
1 vote
3 answers
1k views

I have a column Amount which I want to get its sum by month within each year. I have tried the following query and it works well for year but month is summing up incorrectly. For instance in this May, ...
User_K47's user avatar

15 30 50 per page
1
2 3 4 5
1222