Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Browsing all 3145 articles
Browse latest View live

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 Article


Display 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 Article

Automate 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 Article

Help 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 Article


Ranking 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 Article

High 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 Article

Having 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 Article


Finding 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 Article


stored 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 Article

Create 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 Article

BCP 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 Article

in 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 Article


to 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 Article

couple 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 Article


Image may be NSFW.
Clik here to view.

Finding 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 Article

Index 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 Article


Automate 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 Article

Help 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 Article

general 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
Browsing all 3145 articles
Browse latest View live