Viewing 11 posts - 31 through 42 (of 42 total)
quote:
womalleyThanx this really great
Manie
I got one for ya that will make you wana get...
September 11, 2003 at 5:28 am
Here is the Answer...
---------------------------------------------------------------
DECLARE @objDMO int
DECLARE @objDatabase int
DECLARE @dbname varchar(200)
DECLARE @tablename varchar(200)
DECLARE @cmd varchar(300)
DECLARE @temp varchar(8000)
SET @dbname = 'PUBS'
SET @tablename = 'Authors'
EXEC sp_OACreate 'SQLDMO.SQLServer', @objDMO OUT
EXEC sp_OASetProperty @objDMO, 'loginsecure', 'true'
EXEC...
September 11, 2003 at 5:08 am
Here is the Answer...
---------------------------------------------------------------
DECLARE @objDMO int
DECLARE @objDatabase int
DECLARE @dbname varchar(200)
DECLARE @tablename varchar(200)
DECLARE @cmd varchar(300)
DECLARE @temp varchar(8000)
SET @dbname = 'PUBS'
SET @tablename = 'Authors'
EXEC sp_OACreate 'SQLDMO.SQLServer', @objDMO OUT
EXEC sp_OASetProperty @objDMO, 'loginsecure', 'true'
EXEC...
September 11, 2003 at 5:08 am
quote:
Declare @r Varchar(100)
Set @r=' a b c d e ...
September 11, 2003 at 5:02 am
I am 26, have one kid Boy age 3 born on Jan 1st..
Been writing code for almost 4 years now.
September 10, 2003 at 11:00 am
The following code will run untill condition is met
WHILE EXISTS(SELECT {field} FROM MyTable WHERE {<condition>}) BEGIN
.
.
. code in here
.
.
END
Will
September 10, 2003 at 7:29 am
May I suggest something
I would create a function that returns the value that you want so you could do this
CREATE FUNCTION FULLUSERNAME()
RETURNS VARCHAR(20) AS
BEGIN
DECLARE @UserName AS VARCHAR(20)
SET @UserName = UPPER(LTRIM(RTRIM(SUSER_SNAME())))
RETURN...
September 10, 2003 at 7:21 am
quote:
Nice thing... may I suggest that it would be even better if you modify it so that it works automatically with words...
September 10, 2003 at 5:25 am
try this
run a stored procedure on SQL that enteres the users Name into a table.
This will return the login identification name from a user's security identification number
UPPER(LTRIM(RTRIM(SUSER_SNAME())))
hope this helps
Will
...
September 9, 2003 at 11:17 am
Microsoft Access.. Here is one for ya..
Address Book, Contacts Listing
Goal
Create a linked table with all the contact information from my address book
Code
Dim dbs As Database
...
September 9, 2003 at 10:59 am
quote:
Nice. You might want to add this to the scripts section.Steve Jones
http://www.sqlservercentral.com/columnists/sjones
Thanks,
I will go ahead...
September 9, 2003 at 10:21 am
Viewing 11 posts - 31 through 42 (of 42 total)