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 ArticleCheap Kitchens For Sale West Lothian
Cheap Kitchens For Sale West Lothian Go to cheapkitchens*uk*com
View ArticleDeny 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 ArticleSQL 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 ArticleIssue 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 ArticleExclude 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 ArticleCheck 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 ArticleIgnore 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 ArticleFirst 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 ArticleWant 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 ArticleLogical 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 ArticleReport 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 ArticleRenaming 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 Articledb_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 ArticleFormatting 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 ArticleIs_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 ArticleAre 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 ArticleHow 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 ArticleFlat 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 ArticleUsing 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