Viewing 15 posts - 2,956 through 2,970 (of 14,953 total)
Thanks, that helps.
I've started re-writing, but I'm struggling with the relationships between these tables.
There's a connection from spvohdr_all to gltrxdet by the PO control number, which is denormalized in gltrxdet...
November 2, 2011 at 2:09 pm
The proxy account is for xp_cmdshell to use. It should have the rights needed to do what the stored procedure needs done, but no more than that.
November 2, 2011 at 1:08 pm
Long Integer in Access = Integer in SQL Server.
Memo = varchar(max)
November 2, 2011 at 1:03 pm
That one's not the text property, it's a value. Has to be queried differently:
SELECT X.SR.query('.').value('declare namespace RS="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition";(/RS:DataSet/@Name)[1]',
...
November 2, 2011 at 1:01 pm
SQL Server doesn't just keep stats on indexes. It can also keep stats on columns used in queries, even if they aren't indexed.
There's a good article on it here:...
November 2, 2011 at 12:40 pm
WayneS (11/2/2011)
Stefan Krzywicki (11/2/2011)
November 2, 2011 at 12:37 pm
O.RecID being null doesn't necessarily mean a missing row. Might, but could also just be a nullable columns in the table.
November 2, 2011 at 12:34 pm
JamesMorrison (11/2/2011)
sjimmo (11/2/2011)
I think that the days of a DBA knowing about networking, OS', packets, NTFS cluster sizes, etc are falling to the wayside.
Then they won't be DBAs long term.
Learning...
November 2, 2011 at 12:16 pm
Stefan Krzywicki (11/2/2011)
GSquared (11/2/2011)
Stefan Krzywicki (11/2/2011)
November 2, 2011 at 12:06 pm
Okay, so the dataset should be 1 column for the customer ID, and 14X3 (42) columns for the products. Got that.
Got it on the data being provided as-is. ...
November 2, 2011 at 12:05 pm
You can't use table variable names in column-qualification. Have to alias them for that.
Exact problem is "@JobTbl.jobN".
November 2, 2011 at 11:55 am
I've seen some Convert()/Cast() uses that were SARGable, like from DateTime to Date. Does that count?
November 2, 2011 at 11:54 am
Stefan Krzywicki (11/2/2011)
November 2, 2011 at 11:51 am
Sorry. Wasn't clear enough. What I meant was I need the create scripts for them. Then I can create copies in a test database, and rewrite the query...
November 2, 2011 at 11:50 am
GilaMonster (11/2/2011)
GSquared (11/2/2011)
It's pretty much anything other than an equality comparison between a column and another column or between a column and a variable
Inequalities are SARGable. It's not just equality...
November 2, 2011 at 11:48 am
Viewing 15 posts - 2,956 through 2,970 (of 14,953 total)