Viewing 15 posts - 3,346 through 3,360 (of 5,588 total)
Hugo Kornelis (9/5/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 5, 2010 at 7:44 pm
chandrasekaran.ganapathy (9/5/2010)
Can you give me any example how to do it in real?
Here’s a very simplistic case:
You have a field to enter a user name and password.
The underlying web screen...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 5, 2010 at 6:59 am
vijay-367524 (9/5/2010)
I assume that you are using a cursor so that you can get the value of the identity column [dbo].[StockTransferNote].[WebSTNNo], so that it can be put into [dbo].[StnXItems].[WebSTNNo]?
Yes,You are...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 5, 2010 at 5:06 am
Thanks Paul.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 5, 2010 at 5:01 am
Hugo Kornelis (9/3/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 5, 2010 at 4:36 am
Alvin Ramard (9/3/2010)
CirquedeSQLeil (9/3/2010)
Steve Jones - Editor (9/3/2010)
Alvin Ramard (9/3/2010)
The next 90 minutes...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 3, 2010 at 7:41 pm
Nevyn (9/3/2010)
As Lutz pointed out, we only need to grab one thing from the list (always the second item) so I wonder...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 3, 2010 at 7:09 pm
Thanks Jeff. You're a good teacher!
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 3, 2010 at 4:28 pm
As requested: Delimited Split Function
Usage:
DECLARE @test-2 TABLE (Col1 varchar(100));
INSERT INTO @test-2
SELECT 'change street, 44319' UNION ALL
SELECT 'someother street, 44444';
WITH CTE AS
(
SELECT *
FROM @test-2
...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 3, 2010 at 12:28 pm
This does a compare against birthday of this year, OR next year, being between date range of today thru next 7 days.
I threw in a sample case of someone being...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 3, 2010 at 12:20 pm
Just to make sure I understand:
1. You have a file (file 1) that contains a list of other files.
2. All of the files listed in file 1 need to be...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 3, 2010 at 9:24 am
LutzM (9/3/2010)
WayneS (9/2/2010)
Based on this, where the work order ID is the 2nd "field" in this string, I would suggest :
declare @test-2 varchar(100);
set @test-2 = 'W~W51247~0~1~0';
select Item
from dbo.DelimitedSplit8K(@test,...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 3, 2010 at 9:16 am
francesco_uk (9/3/2010)
I have some doubts on the 32-bit/64-bit compatibility between SQL Server, SAP and the underlying OS. Can somebody explain me in a general manner how does this all work?
Q1:...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 3, 2010 at 8:39 am
So, are the only valid characters to be the characters on the keyboard? These will have an ASCII code between 32 and 126. So:
declare @test-2 table (Col1 nvarchar(500));
declare @testdata nvarchar(500);
set...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 3, 2010 at 7:58 am
Grant Fritchey (9/3/2010)
After the silly work I had to go through to get this to function, I went ahead and made it into a blog post[/url] if anyone is interested.
The...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 3, 2010 at 7:46 am
Viewing 15 posts - 3,346 through 3,360 (of 5,588 total)