Viewing 15 posts - 31 through 45 (of 2,037 total)
Glad that we could help and thanks for the feedback.
[offtopic]btw: my name is Florian, SQLCrazy is just my (little scary) status here :-P[/offtopic]
August 17, 2011 at 2:28 pm
"GO" is a feature of OSQL/SQLCMD/SSMS. Feel free to change it to "FOOBAR" in menu -> tools -> options -> query execution -> sql server -> general -> "batch separator"...
August 17, 2011 at 2:17 pm
In this case, you can use a CTE with ROW_NUMBER ordered by your Date and do a self-join.
Here's a little example:
DECLARE @t TABLE (
Value DECIMAL(5,2)
...
August 17, 2011 at 1:57 pm
Hi
Tables are not sorted by inserted rows. You could insert three rows with INT values 1, 2 and 3 and a, not explicitly ordered, SELECT can return 2, 3, 1.
If...
August 17, 2011 at 1:27 pm
Hi
A database level DDL trigger should help you to create a logging for schema modifications:
Greets
Flo
August 15, 2011 at 2:59 am
nageshp,
it is possible that you get same results for your UPDATE when using either LEFT JOIN or INNER JOIN. However, this is more accidental than reliable. This happens if all...
August 14, 2011 at 3:07 am
Hey Lutz!
First, thanks for the heads up with CROSS APPLY, sure much better solution.
[off topic]
Thanks mate! To be honest, nope. I've got way to less SQL stuff in my current...
August 14, 2011 at 2:52 am
Hi UnionAll
You need to use the XML type functions of SQL Server. Here's a little sample, based on your data (removed the "&" characters to get a working source...
August 13, 2011 at 1:56 pm
Great article! Had the same problem some month ago. Wish I would have had this article at this time.
Greets
Flo
July 28, 2010 at 2:54 am
AFAIK searchfilterhost.exe is part of Windows Search and Indexing service. Try to stop the windows service.
July 19, 2010 at 9:39 am
I don't think, the memory issues depends on the installation of SQL Server 2008 client components. Have a look into task manager (or system monitor) while executing your package to...
July 19, 2010 at 9:24 am
Hi
If you installed the SQL Server 2008 client tools, there is no SQL Server 2008 service installed. Otherwise look at Start->Programs->SQL Server 2008->Configuration Tools->SQL Server Configuration Manager. If any services...
July 19, 2010 at 9:06 am
Another simple tool is Adam Machanic's SQLQueryStress tool:
July 19, 2010 at 8:18 am
For your understanding with the cursor:
You have to call FETCH NEXT ... before you can access the FETCH_STATUS
For your understanding with databases:
Do never use cursors ;-). Your approach might work...
July 17, 2010 at 2:03 pm
Viewing 15 posts - 31 through 45 (of 2,037 total)