Topics
Started by
Posts
Last post
Regarding the @query parameter, BOL states: "Note that the query is executed in a separate sessio…
4 replies
Thought I would re-write as it didnt make sense to me! When an update query is based on a join, so …
2 replies
Hello I have a problem on doing an complex join between multiple tables : Here is my tables GLCMS …
15 replies
HI all I am trying to run the following but I get a syntax near 'ROLE' error, but it looks ok to me…
3 replies
I just read the article on using UNPIVOT to normalize data. I noted that it said that UNPIVOT doesn…
6 replies
I'm trying to restrict a query to go back five years ago. I have the following query which is not i…
12 replies
Hi, I have a scenario in which I have to check that whether I am correct no of series or not... Cre…
7 replies
I'm thinking there's some clever way of doing this, probably involving a CTE and recursion, but I'm…
6 replies
Hi All, I have in the past created dynamic SQL in a tally table and looped through to execute it. …
3 replies
hi my sp is taking 5 min in prod.any way i can improve performance BEGIN TRY DECLARE @alerts TABLE …
7 replies
Hi Everyone I have the following query in one of my databases. It returns 20 rows. SELECT C_…
4 replies
Hi all, I just want to know that in my below code is it possible to combine first two exists condit…
9 replies
I got the following example of some code to use an OUTER APPLY to get some data I need. I was able …
1 replies
Hi I have a an SP that returns the size of the backup files into a table. To execute the Sp i have …
4 replies
hi i am adding new column with default value this table has millions of rows, so while i am executi…
2 replies
Viewing 15 topics - 3,376 through 3,390 (of 10,636 total)
You must be logged in to create new topics.