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

Psychiatrists Call For Trump Mental

[url=https://brandguide.asu.edu/sites/default/files/webform/foxstream_ravens_vs_steelers_live_stream_game_coverage.pdf]Ravens vs Steelers Live Streaming[/url]

View Article


Cheap Kitchens For Sale West Lothian

Cheap Kitchens For Sale West Lothian Go to cheapkitchens*uk*com

View Article


Deny DML on a table

Hi allI have a table "test" in my "testdb" database. There is a user "user1" The user has access to all tables in the database. For this particular table "test", I executed "DENY insert on test to...

View Article

SQL and EXcel

i am trying to convert xlsx to xls using DTS script task,but because the server hasn't got excel installed its throwing an error..Would it be ok to load MS compatibility pack on the server, or is there...

View Article

Issue using sp_send_dbmail for CSV export

Hello, I am using sp_send_dbmail to create a CSV export. However, for some reason, the header line is "Splitting" into multiple lines upon export. I am trying to figure out what is causing this to...

View Article


Exclude the data starts with ING

Hello, how to write a query - to exclude the field that starts with INGselect * form table where ID NOT LIKE 'ING%' ?I want to exclude ING from all the records?Data - for ID looks like ING10000-11999...

View Article

Check for file existence and send email if no file found in SSIS

Hello,I'm using a script task to check for file existence in a folder. If the file found proceed with the data load, if not send an email to the users.if the file is found then it proceeds to data flow...

View Article

Ignore reading signs

I am in need of a way to ignore reading signs, for example:- I search on (like?) 921996 it will find the record with 92.1996 or 1219!96Is there a way to achieve this?

View Article


First occurrences

Hi,Below is the table and results I am looking for......i am an SQL newbie. Game Play_Id Team Player EVENT1 1 1 2 A Frank 31 3 A John 21 4 B Michael 42 1 2 2 A Craig 2 3 B Bill 22 4 A Tom 1the result i...

View Article


Want to populate Col B (Datetime) from last 10 characters of Col A (nvarchar)

Hi all,Got a bunch of date data in the wrong column, I'd like copied into a column on the same table. Here's as far as I've got: Update dbo.ReadingList --SELECT convert (Datetime, RIGHT(Title, 9)) Set...

View Article

Logical Reads x Buffer Pool Content

Hi All.I'm troubleshooting a specific query performance, and one of the first thing that i do is to check the statistics IO output.Below is one of the lines from statistics io result Table 'XXXXXX'....

View Article

Report Showing Month with Highest Count

I have a table that stores EmployeeID, and Date. I want to create a report for 2016 that shows what the best month, by highest record count, for each employee. I have no idea how to accomplish this....

View Article

Renaming fields and combining them into one column

I have a table with the following structure. Ind_Id | First_Name | Last_Name | FootBall | Soccer | Baseball | Basketball | Volleyball | FuseballThe sports columns have 'Y' or 'N' values. I would like...

View Article


db_Mail Syntax error message when attempting to pass variable to @Body

To all:For some reason, when I attempt to add a variable to the string of my @Body I get them error message Incorrect syntax near '+'. Here is my code, any suggestions are appreciated in advance!...

View Article

Formatting Data for Reporting

I would like to create a hierarchal report that groups data by VP, Districts the VP oversees, and Location details for each District. My hope is to produce a report as seen in the enclosed...

View Article


Is_Rolemember with AD group

We are using a Windows AD group to control access to login and to a certain DBThe login works perfect, anyone in the group can use a trusted connection and login.The problem is we assigned a User...

View Article

Are there any limits to Pivoting

We have a database that has been designed to service the application - currently there is no real reporting database, reporting is done off a replicated copy of the live DB. (This is changing and I...

View Article


How to correct this timestam for the current day?

Hello, I'm creating a timestamp of the actual day (from this day's midnight to the other's), but I'm having some issues...One of the problems is that with the code that I have, I can only get the...

View Article

Flat table for parent child

Hi,I want to create a flat table as shown in the desired results using the temp table.CREATE TABLE #MyTestTable ( Title NVARCHAR(200), ID NVARCHAR(100), ChildID NVARCHAR(650) ) INSERT INTO #MyTestTable...

View Article

Using a variable in CTE Select statement

I have to write a query that lists orders and partitions them by customer id# and displays the date, customerid, name, order_amount and count on each line. I then need to match that against a retailer...

View Article
Browsing all 3145 articles
Browse latest View live