Viewing 15 posts - 3,001 through 3,015 (of 15,381 total)
patrickmcginnis59 10839 (4/14/2015)
Sean Lange (4/14/2015)
patrickmcginnis59 10839 (4/14/2015)
Sean Lange (4/14/2015)
liamdemasi (4/14/2015)
April 14, 2015 at 10:48 am
patrickmcginnis59 10839 (4/14/2015)
Sean Lange (4/14/2015)
liamdemasi (4/14/2015)
April 14, 2015 at 10:23 am
david.foli7 (4/14/2015)
I got the below request to delete an entry...what will be the best script to useAuxid: 1219947569
Name: WALMART T
CID: 11987968
Hi and welcome to the forums. You need to provide...
April 14, 2015 at 10:20 am
rajemessage 14195 (4/14/2015)
Q1)followng is from https://msdn.microsoft.com/en-IN/library/ms187928.aspx?f=255&MSPPError=-2147217396
please explain "1 These style values return nondeterministic results. Includes all (yy) (without century) styles and a subset of (yyyy) (with century) styles."
Q2) please explain...
April 14, 2015 at 10:14 am
Just to demonstrate how much difference aliases can make. I used aliases in your joins and that massive wall of text in the middle is a LOT more friendly.
SELECT ItemKey
,...
April 14, 2015 at 10:13 am
Something like this should be pretty close. Since you didn't post ddl or data this is untested but it should work.
declare @EmployeeID int = 10001;
with SortedVals as
(
select CountryId
, ROW_NUMBER ()...
April 14, 2015 at 9:20 am
liamdemasi (4/14/2015)
My select: Select TOP 3 FROM EmployeeCountry where EmployeeId = 10001
Will...
April 14, 2015 at 9:16 am
liamdemasi (4/14/2015)
Unfortunately, I cannot normalize the target as the system that will be consuming the data needs it in a flat table.
Then you will need to do this one...
April 14, 2015 at 9:08 am
liamdemasi (4/14/2015)
April 14, 2015 at 8:28 am
liamdemasi (4/14/2015)
I will attempt your suggestion...
April 14, 2015 at 8:03 am
liamdemasi (4/14/2015)
I have two tables: EmployeeCountry and Country.
EmployeeCountry
EmployeeId (PK)(FK)
CountryId(PK)(FK)
Country
CountryId (PK)
CountryName
There will only be ...
April 14, 2015 at 7:56 am
Naveen J V (4/14/2015)
I have around 3 tables having around 20 to 30gb of data. My table A related to table B by a FK and same way table B...
April 14, 2015 at 7:53 am
Here is another way of handling this type of thing. This is using a cross tab.
Please notice how I created tables and sample data to work with. This is something...
April 14, 2015 at 7:49 am
yb751 (4/14/2015)
Try this:
SELECTu.USERID,
u.NAME,
u.PHONE,
ui1.INFO AS Sport,
ui2.INFO AS Food
FROM
[User] u
JOIN UserInfo ui1 ON u.USERID = ui1.USERID AND ui1.COLUMN = 10
JOIN UserInfo ui2 ON u.USERID = ui2.USERID AND ui2.COLUMN = 30
This works but...
April 14, 2015 at 7:47 am
GilaMonster (4/13/2015)
Not fixed. Large portions of the storage engine were rewritten between SQL 2000 and 2005.
I would say that rewriting the storage engine is what "fixed" the problem.
April 13, 2015 at 7:44 am
Viewing 15 posts - 3,001 through 3,015 (of 15,381 total)