Viewing 15 posts - 451 through 465 (of 515 total)
Kindly post some details around this. Your question is not very clear.
Seems new to the forum, please go through SSC Best practices for getting quick response to your issues:
www.sqlservercentral.com/articles/Best+Practices/61537/
-Lokesh
July 24, 2012 at 7:23 pm
Save your time: Use the above script to find all nullable columns. Drop and recreate those columns.
They will all have NULL values ( no need to update) 🙂
July 24, 2012 at 10:41 am
No Worries. That happens - we are humans after all 🙂
And Thanks to you and Lynn for at-least criticizing my post. I am not very old to SSC, your support...
July 24, 2012 at 10:33 am
[His Post :-)]
Another example to clarify:
SELECT *
FROM table_name
WHERE DateOfIncidentDte >= '01-01-2012'
AND DateOfIncidentDte < '01-01-2013'
Hope, you agree with me now - Sean 🙂
July 24, 2012 at 10:26 am
My Friend, point here is that SQL Optimizer will not be able to use an index if the query is sargable. It will literally try to evaluate and match "DateOfIncidentDte"...
July 24, 2012 at 10:11 am
Please clarify - do you want a query that return top 25 sales of top 25 stores?
July 24, 2012 at 9:59 am
I will go with Sean, the best way is to un-do with dynamic SQL. If your code is not exposed and free from SQL Injections - convert your query as...
July 24, 2012 at 9:57 am
Other option is to explore SSIS..
July 24, 2012 at 8:41 am
In Feb, a similar post was raised, check the link:
http://www.sqlservercentral.com/Forums/Topic1255325-391-1.aspx
Might be of help.
July 23, 2012 at 10:04 pm
To start with, please post some DDL and DML; example below
DDL
CREATE TABLE abc
( col1 INT NULL,
col2 CHAR(1) NULL,
....
)
Go
DML
INSERT INTO abc
VALUES
(1,'a',....),
(2,'b',....),
(3,'c',....),
.....
and don't forget to put the expected...
July 23, 2012 at 9:20 am
Try using VARCHAR(MAX) instead for VARCHAR(8000)
For details check this link: http://www.sqlservercentral.com/Forums/Topic647815-145-1.aspx
- Lokesh
July 23, 2012 at 8:53 am
Sorry, not getting your question completely. As per the scenario given by you(simplifying):
Table_1
[SpaceId] [MemberId] [AdSpaceName] [TotalBlocks] [PaymentType]
...
July 23, 2012 at 8:47 am
Runnable is fine...but your process is only stuck if it is blocked by some other SPID. If this is not the case then your query is working. Check the active...
July 23, 2012 at 8:38 am
Viewing 15 posts - 451 through 465 (of 515 total)