Temp table
Hi there,So my query is something like thatSelect U.actionID, M.CardNum, M.serieID... From Upgrades U LEFT JOIN Media M ON U.serieID=M.serieID ... Where....Now i want to add a temp table to this query...
View Article[BIT] where already [Date](when happened)]
I was thinking about how to title this for a few milliseconds and I couldn't come up with anything better. I'm building a new database and while creating a table to store invoices I noticed I did...
View ArticleDisplay members with active cards
Hi guys,I have a little complicated issue,I want to display all the members in the Allmembers table, and their card number.However, when I have a member that have two or more cards ( one is active, the...
View ArticleAutomate weekly DB restore
All, I need to refresh our Dev from prod and I am wondering if someone can help me out since I am still at the beginning/learning stage of development.Current Backup file :...
View ArticleHelp with SQL Query
Hello All, I am new here and a Novice to SQL. I am needing help on joining the data below into a single row. Please see below Lets say I have a table with the below columns.
View ArticleRanking For each group
Hi All,I have the following table:declare @T table(ID int identity, NUM int);insert into @T values(0),(0),(0),(1),(1),(0),(0),(0),(1),(1),(0),(0),(0);ID NUM1 02 03 04 15 16 0<
View ArticleHigh level performance report aimed at senior management
Hi all,I've been in the SQL space for a number of years now and recently been asked to act as a service assurance manager for our department's Database as a service. I have been told to provide a...
View ArticleHaving an Issue with Contains while using multiple words with an AND operator
I'm having an issue with the following Contains Filter searching through 5 different columns in a table:FROM [db].[dbo].[table] where CONTAINS((Column1,Column2,Column3,Column4,Column5),' "KeyWord1" AND...
View ArticleFinding a string in XML column using sql server
1. I have a table with a xml column.2. I require to search for sub string in that xml column for all its node and value. Search should be case insensitive3. Structure of XML in each row is differentI...
View Articlestored procedure to get data form table
I have a table where it has weekdes column where it contains data in this format.Data looks like - Wk 1 Oct 2017Wk 2 Oct 2017Wk3 Oct 2017....Query to get data from table - select weekdes from...
View ArticleCreate a table and join it with another existing table
Hi guys,I have a query that executes certain columns, let's say something like that :Select ID, TransactionTime, Points From Members Where Points >= 20 Result : ID Tra
View ArticleBCP out not unloading all records
I have a SQL Server Agent job running nightly that unloads data from tables on SQL Server 2008 R2 using bcp out to a text file. This is then loaded into tables on SQL Server 2014 using bcp in. Once...
View Articlein the time to good man
[url=https://mayweathervsmcgregorppv.co/]Mayweather vs McGregor[/url][url=https://mayweathervsmcgregorppv.co/]Mayweather vs McGregorLive[/url][url=https://mayweathervsmcgregorppv.co/]Mayweather vs...
View Articleto Berlin and
[url=http://www.aranzadiikastola.eus/sites/default/files/filefield_paths/SJTVSouth-Florida-vs-San-Jose-State-Live-Stream-NCAAF-OnlineStartTime-26-August-2017-Team-Roster.pdf]South Florida vs San Jose...
View Articlecouple of other potential
[url=http://cie.fcsh.espol.edu.ec/sites/default/files/Mayweather-vs-McGregor-Live-Stream-Boixng-ScoresRound-by-Round-26-August-2017-Showtime-Fight.pdf]Mayweather vs McGregor Live Streaming[/url]
View ArticleFinding Consecutive Values For a Record
I have a table that shows if a record has a value for each month. A zero is given for that particular month to show there is no value. Below is an example of how the table looks:
View ArticleIndex creations doubts
Hi All, As a beginner to query tuning, if someone had asked to create some supporting non-clustered indexes to improve the performance of a SELECT query, how can i take a decision on what columns the...
View ArticleAutomate weekly DB restore
All, I need to refresh our Dev from prod and I am wondering if someone can help me out since I am still at the beginning/learning stage of development.Current Backup file :...
View ArticleHelp with SQL Query
Hello All, I am new here and a Novice to SQL. I am needing help on joining the data below into a single row. Please see below Lets say I have a table with the below columns.
View Articlegeneral question on query performance
Hi All,This is a generic question regarding query optimization.The query is working fine yesterday i.e. it was running for more than 5 mins. After looking at the actual plan todo I see the statistics...
View Article