Viewing 15 posts - 8,896 through 8,910 (of 13,469 total)
Parthi i mentioned before that while you can use CAST and CONVERT on the columns, it's best practice to stay within the same datatype by using DATE ADD/DATEDIFF functions;
when...
August 20, 2010 at 12:48 pm
VNC/Remote Desktop/ TeamViewer / PCAnywhere / GoToMyPC are desktop viewers,
you don't need that.
SQL Server Management Studio is the interface of choice and is backwards compatibile, and can connect to ...
August 20, 2010 at 12:09 pm
ny66 (8/20/2010)
havent gotten that far yet on the insert into, need to get the syntax together prior to creating the new table.
it's pretty basic:
--get just the data we need to...
August 20, 2010 at 12:05 pm
ricardo_chicas (8/20/2010)
what I really want to know is for a suggestion on what is the best way to retrieve large amount of...
August 20, 2010 at 11:32 am
newbieuser (8/20/2010)
I'm creating an application role, the password for the role should be read from a table. Is it possible to do this?
The table need to...
August 20, 2010 at 11:21 am
Lowell (8/17/2010)
can you post the example data as an actual INSERT INTO query?(don't paste my example back...that already worked correctly)
chopping stuff up with substrings not hard to do...but we need...
August 20, 2010 at 11:04 am
ouch; Steve's analysis is right on....it'll be tough to determine what changed and what should be kept, especially if competing applications used two different databases at the same time.
Lesson i...
August 20, 2010 at 10:26 am
sharp analysis drew... i would not have inferred the regional settings affecting the implicit conversion.
here's my version of the procedure, which seems to return the data with seconds:
CREATE FUNCTION [dbo].[fn_JulianDateConversion](@JulianDate...
August 20, 2010 at 10:14 am
laddu4700 (8/20/2010)
Thank you very much.2 more questions on sql security
1. Can we create a SQL login with out creating a windows user?
yes, of course. sql supports two kinds of...
August 20, 2010 at 9:42 am
something like this, maybe?:
CREATE ROLE [MyNewRole]
--Select permission (assuming every object, not specific tables)
ALTER AUTHORIZATION ON SCHEMA::[db_datareader] TO [MyNewRole]
--Insert update delete permission (assuming every object, not specific tables)
ALTER AUTHORIZATION ON SCHEMA::[db_datawriter]...
August 20, 2010 at 9:25 am
looks like mine is similar to yours; just different fields that i'm capturing.
here's what i see as the differences:
I'm using sp_GetDDL not sp_GetDDLa, which returns multiple rows. i am using...
August 19, 2010 at 3:17 pm
i remember having to restart when i was playing around with lots of traces;
when C2 auditing is on, c2 traceid = 1, the default trace = traceid 2, and any...
August 19, 2010 at 12:18 pm
i'm very sure you need to simply change the c2 audit setting, then just stop and start the server;
i've done it quite a few times, and that's all i did.
August 19, 2010 at 8:32 am
well i am not na expert in xml by any means, but i googled a bit and got this to almost work; this might give you some ideas:
--the query to...
August 19, 2010 at 7:13 am
I'd recommend the method Krishnraj suggested; this is especially true with big tables with lots of constraints or foreign keys or other dependancies....the GUI does all the grunt work behind...
August 19, 2010 at 6:28 am
Viewing 15 posts - 8,896 through 8,910 (of 13,469 total)